Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -537,6 +537,9 @@ def handle_query(user_question, chatbot, audio=None):
|
|
| 537 |
else:
|
| 538 |
try:
|
| 539 |
user_question1, response_text1 = future.result() # Get the result of the completed future
|
|
|
|
|
|
|
|
|
|
| 540 |
chatbot.append((user_question1, response_text1))
|
| 541 |
return gr.update(value=chatbot)
|
| 542 |
except Exception as e:
|
|
|
|
| 537 |
else:
|
| 538 |
try:
|
| 539 |
user_question1, response_text1 = future.result() # Get the result of the completed future
|
| 540 |
+
print("output")
|
| 541 |
+
print(user_question1)
|
| 542 |
+
print(response_text1)
|
| 543 |
chatbot.append((user_question1, response_text1))
|
| 544 |
return gr.update(value=chatbot)
|
| 545 |
except Exception as e:
|