Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ iface = gr.Interface(
|
|
| 11 |
gr.Textbox(label='Optional API Key', lines=1),
|
| 12 |
gr.Textbox(label='Request body input field' , lines=1),
|
| 13 |
gr.Textbox(label='Response body output field', lines=1),
|
| 14 |
-
gr.Textbox(label="OpenAI API Key"),
|
| 15 |
gr.Dropdown(choices=["gpt-4o", "gpt-3.5-turbo", "gpt-4"], label="Model")
|
| 16 |
],
|
| 17 |
outputs=gr.Textbox(label="Output", lines=20),
|
|
|
|
| 11 |
gr.Textbox(label='Optional API Key', lines=1),
|
| 12 |
gr.Textbox(label='Request body input field' , lines=1),
|
| 13 |
gr.Textbox(label='Response body output field', lines=1),
|
| 14 |
+
gr.Textbox(label="OpenAI API Key",type="password"),
|
| 15 |
gr.Dropdown(choices=["gpt-4o", "gpt-3.5-turbo", "gpt-4"], label="Model")
|
| 16 |
],
|
| 17 |
outputs=gr.Textbox(label="Output", lines=20),
|