UI: remove animation after clicking on "Stop" in the Chat tab

This commit is contained in:
oobabooga 2024-07-27 15:22:34 -07:00
parent e4d411b841
commit 493f8c3242

View File

@ -223,7 +223,7 @@ def create_event_handlers():
shared.gradio['Stop'].click( shared.gradio['Stop'].click(
stop_everything_event, None, None, queue=False).then( stop_everything_event, None, None, queue=False).then(
chat.redraw_html, gradio(reload_arr), gradio('display')) chat.redraw_html, gradio(reload_arr), gradio('display'), show_progress=False)
if not shared.args.multi_user: if not shared.args.multi_user:
shared.gradio['unique_id'].select( shared.gradio['unique_id'].select(