Spaces:
Build error
Build error
Update app.py
Browse files515 unmodified lines516517518519520521522523524515 unmodified lines# Clear previous stop event and futurestop_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)print(user_question)# Start the processing in a new thread515 unmodified lines516517518519520521522523524515 unmodified lines# Clear previous stop event and futurestop_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)print(user_question)# Start the processing in a new thread
app.py+3-3