Merge pull request #8651 from vladmandic/flicker

disable gradio css transitions
This commit is contained in:
AUTOMATIC1111 2023-03-25 11:05:50 +03:00 committed by GitHub
commit 8402682118
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