Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def ask_ai(question,api_key):
|
|
38 |
return response.response
|
39 |
|
40 |
|
41 |
-
api_key = gr.inputs.Textbox(label="OpenAI API Key (Or left blank to use default)
|
42 |
iface = gr.Interface(fn=ask_ai, inputs=["text", api_key], outputs="text", title="Chatbot")
|
43 |
|
44 |
|
|
|
38 |
return response.response
|
39 |
|
40 |
|
41 |
+
api_key = gr.inputs.Textbox(label="OpenAI API Key (Or left blank to use default")
|
42 |
iface = gr.Interface(fn=ask_ai, inputs=["text", api_key], outputs="text", title="Chatbot")
|
43 |
|
44 |
|