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