Spaces:
Build error
Build error
Update app.py
Browse files515 unmodified lines516517518519520521519520521522523524515 unmodified lines # Clear previous stop event and future stop_event.clear() print(user_question) if future and not future.done(): chatbot.append(("","A query is already being processed. Please stop it before starting a new one.")) return gr.update(value=chatbot) #if future and not future.done(): # chatbot.append(("","A query is already being processed. Please stop it before starting a new one.")) # return gr.update(value=chatbot) print(user_question) # Start the processing in a new threadapp.py+3-3