Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ prompt = "The following is a conversation with an AI assistant. The assistant is
|
|
16 |
|
17 |
|
18 |
def gradio_ask_ai(user_input):
|
19 |
-
index = GPTSimpleVectorIndex.load_from_disk('index.json')
|
20 |
query = user_input
|
21 |
response = index.query(query)
|
22 |
return response.response
|
|
|
16 |
|
17 |
|
18 |
def gradio_ask_ai(user_input):
|
19 |
+
index = GPTSimpleVectorIndex.load_from_disk('Meshworks-bot/index.json')
|
20 |
query = user_input
|
21 |
response = index.query(query)
|
22 |
return response.response
|