Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def ask_ai(question,api):
|
|
| 49 |
return response.response
|
| 50 |
|
| 51 |
|
| 52 |
-
construct_index("
|
| 53 |
|
| 54 |
# Create Gradio interface to prompt for API key
|
| 55 |
api_key = gr.inputs.Textbox(label="Enter your OpenAI API key:")
|
|
|
|
| 49 |
return response.response
|
| 50 |
|
| 51 |
|
| 52 |
+
construct_index("data")
|
| 53 |
|
| 54 |
# Create Gradio interface to prompt for API key
|
| 55 |
api_key = gr.inputs.Textbox(label="Enter your OpenAI API key:")
|