Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -395,7 +395,7 @@ def process_json():
|
|
395 |
print("Printing Retriever Docs Ended")
|
396 |
|
397 |
print("Chain Run Started >>>>>>>>>>>>>>>>>>", datetime.now().strftime("%H:%M:%S"))
|
398 |
-
message = chainRAG.run({"question": query})
|
399 |
print("Chain Run Completed >>>>>>>>>>>>>>>>>>", datetime.now().strftime("%H:%M:%S"))
|
400 |
print("query:", query)
|
401 |
print("Response:", message)
|
|
|
395 |
print("Printing Retriever Docs Ended")
|
396 |
|
397 |
print("Chain Run Started >>>>>>>>>>>>>>>>>>", datetime.now().strftime("%H:%M:%S"))
|
398 |
+
message = chainRAG.run({"question": query,"chat_history":history})
|
399 |
print("Chain Run Completed >>>>>>>>>>>>>>>>>>", datetime.now().strftime("%H:%M:%S"))
|
400 |
print("query:", query)
|
401 |
print("Response:", message)
|