Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def construct_index(directory_path):
|
|
| 28 |
|
| 29 |
def chatbot(input_text):
|
| 30 |
index = GPTSimpleVectorIndex.load_from_disk('index.json')
|
| 31 |
-
response = index.query(input_text
|
| 32 |
return response.response
|
| 33 |
|
| 34 |
description = """
|
|
|
|
| 28 |
|
| 29 |
def chatbot(input_text):
|
| 30 |
index = GPTSimpleVectorIndex.load_from_disk('index.json')
|
| 31 |
+
response = index.query(input_text)
|
| 32 |
return response.response
|
| 33 |
|
| 34 |
description = """
|