Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -551,7 +551,7 @@ def handle_query(user_question, chatbot, audio=None):
|
|
| 551 |
chatbot.append((user_question1, response_text1))
|
| 552 |
return gr.update(value=chatbot)
|
| 553 |
except Exception as e:
|
| 554 |
-
print
|
| 555 |
chatbot.append((user_question, "Sorry, we encountered an error while processing your request. Please try after some time."))
|
| 556 |
return gr.update(value=chatbot)
|
| 557 |
|
|
|
|
| 551 |
chatbot.append((user_question1, response_text1))
|
| 552 |
return gr.update(value=chatbot)
|
| 553 |
except Exception as e:
|
| 554 |
+
print(f"Error occurred: {e}")
|
| 555 |
chatbot.append((user_question, "Sorry, we encountered an error while processing your request. Please try after some time."))
|
| 556 |
return gr.update(value=chatbot)
|
| 557 |
|