Redmind commited on
Commit
85e2306
·
verified ·
1 Parent(s): 1e4fe02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 [(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
 
 
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