Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,8 @@ def get_index(index_file_path):
|
|
| 63 |
print(f"Error: '{index_file_path}' does not exist.")
|
| 64 |
sys.exit()
|
| 65 |
|
| 66 |
-
|
|
|
|
| 67 |
|
| 68 |
# passes the prompt to the chatbot
|
| 69 |
def chatbot(input_text, mentioned_person='Mediator John Haynes', confidence_threshold=0.5):
|
|
|
|
| 63 |
print(f"Error: '{index_file_path}' does not exist.")
|
| 64 |
sys.exit()
|
| 65 |
|
| 66 |
+
debuggerindex_file_path = "./index/index.json"
|
| 67 |
+
index = get_index(debuggerindex_file_path)
|
| 68 |
|
| 69 |
# passes the prompt to the chatbot
|
| 70 |
def chatbot(input_text, mentioned_person='Mediator John Haynes', confidence_threshold=0.5):
|