Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def ask_ai():
|
|
34 |
os.environ["OPENAI_API_KEY"] = "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"
|
35 |
|
36 |
|
37 |
-
construct_index("context_data")
|
38 |
|
39 |
iface = gr.Interface(fn=ask_ai, inputs="text", outputs="text" ,title="Chatbot")
|
40 |
|
|
|
34 |
os.environ["OPENAI_API_KEY"] = "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"
|
35 |
|
36 |
|
37 |
+
construct_index("context_data.txt")
|
38 |
|
39 |
iface = gr.Interface(fn=ask_ai, inputs="text", outputs="text" ,title="Chatbot")
|
40 |
|