Spaces:
Sleeping
Sleeping
Commit
·
0486693
1
Parent(s):
56751ff
fixed add_to_history error
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def handle_question(question):
|
|
| 58 |
answer = index_retriever.query(question)
|
| 59 |
sources = get_sources_for_question(question)
|
| 60 |
|
| 61 |
-
chat_handler.add_to_history(question, answer)
|
| 62 |
|
| 63 |
return answer, sources
|
| 64 |
except Exception as e:
|
|
|
|
| 58 |
answer = index_retriever.query(question)
|
| 59 |
sources = get_sources_for_question(question)
|
| 60 |
|
| 61 |
+
# chat_handler.add_to_history(question, answer)
|
| 62 |
|
| 63 |
return answer, sources
|
| 64 |
except Exception as e:
|