disable gradio css transitions

This commit is contained in:
Vladimir Mandic 2023-03-15 10:14:40 -04:00 committed by GitHub
parent a9fed7c364
commit 250193ee93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,6 +262,9 @@ def webui():
inbrowser=cmd_opts.autolaunch,
prevent_thread_lock=True
)
for dep in shared.demo.dependencies:
dep['show_progress'] = False # disable gradio css animation on component update
# after initial launch, disable --autolaunch for subsequent restarts
cmd_opts.autolaunch = False