Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -659,9 +659,9 @@ def handle_query(user_question, chatbot, audio=None):
|
|
659 |
if stop_event.is_set():
|
660 |
# Attempt to cancel the current_event
|
661 |
if current_event.cancel():
|
662 |
-
chatbot.append((user_question, "
|
663 |
else:
|
664 |
-
chatbot.append((user_question, "
|
665 |
|
666 |
# Return the updated chatbot and stop further processing
|
667 |
return gr.update(value=chatbot)
|
|
|
659 |
if stop_event.is_set():
|
660 |
# Attempt to cancel the current_event
|
661 |
if current_event.cancel():
|
662 |
+
chatbot.append((user_question, "Sorry. I am not able to process your request now. Please try again after some time."))
|
663 |
else:
|
664 |
+
chatbot.append((user_question, "Sorry. I am not able to process your request now. Please try again after some time."))
|
665 |
|
666 |
# Return the updated chatbot and stop further processing
|
667 |
return gr.update(value=chatbot)
|