Redmind commited on
Commit
dfef078
·
verified ·
1 Parent(s): bbf123a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -516,9 +516,9 @@ def handle_query(user_question, chatbot, audio=None):
516
  # Clear previous stop event and future
517
  stop_event.clear()
518
  print(user_question)
519
- if future and not future.done():
520
- chatbot.append(("","A query is already being processed. Please stop it before starting a new one."))
521
- return gr.update(value=chatbot)
522
 
523
  print(user_question)
524
  # Start the processing in a new thread
 
516
  # Clear previous stop event and future
517
  stop_event.clear()
518
  print(user_question)
519
+ #if future and not future.done():
520
+ # chatbot.append(("","A query is already being processed. Please stop it before starting a new one."))
521
+ # return gr.update(value=chatbot)
522
 
523
  print(user_question)
524
  # Start the processing in a new thread