aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-03-25 09:36:35 +0000
committerGitHub <noreply@github.com>2023-03-25 09:36:35 +0000
commitdb7caf9b9cb353fdb92f179a02ba71c923e2dcec (patch)
tree93bd1e85103efdb4a2eb8cacf5c022901fd51c43 /webui.py
parente5dd5d73357715110c18c1ac31711f3a81b84a0c (diff)
parentc1294d849a50b9b2995aa257adbb918837c4b384 (diff)
downloadstable-diffusion-webui-gfx803-db7caf9b9cb353fdb92f179a02ba71c923e2dcec.tar.gz
stable-diffusion-webui-gfx803-db7caf9b9cb353fdb92f179a02ba71c923e2dcec.tar.bz2
stable-diffusion-webui-gfx803-db7caf9b9cb353fdb92f179a02ba71c923e2dcec.zip
Merge branch 'master' into patch-1
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index aaec79fd..027f3579 100644
--- a/webui.py
+++ b/webui.py
@@ -240,7 +240,7 @@ def webui():
shared.demo = modules.ui.create_ui()
startup_timer.record("create ui")
- if cmd_opts.gradio_queue:
+ if not cmd_opts.no_gradio_queue:
shared.demo.queue(64)
gradio_auth_creds = []
@@ -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