aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorBruno Seoane <brunoseoaneamarillo@gmail.com>2022-10-23 16:14:14 +0000
committerBruno Seoane <brunoseoaneamarillo@gmail.com>2022-10-23 16:14:54 +0000
commite3f0e34cd6de78a17fc22c9a45d28db774256e79 (patch)
treed1250116e3f7db5f14f06a9d27a49778751df736 /webui.py
parent4ff852ffb50859f2eae75375cab94dd790a46886 (diff)
parent6bd6154a92eb05c80d66df661a38f8b70cc13729 (diff)
downloadstable-diffusion-webui-gfx803-e3f0e34cd6de78a17fc22c9a45d28db774256e79.tar.gz
stable-diffusion-webui-gfx803-e3f0e34cd6de78a17fc22c9a45d28db774256e79.tar.bz2
stable-diffusion-webui-gfx803-e3f0e34cd6de78a17fc22c9a45d28db774256e79.zip
Merge branch 'master' of https://github.com/bamarillo/stable-diffusion-webui
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/webui.py b/webui.py
index b1deca1b..a742c17d 100644
--- a/webui.py
+++ b/webui.py
@@ -135,6 +135,8 @@ def webui():
inbrowser=cmd_opts.autolaunch,
prevent_thread_lock=True
)
+ # after initial launch, disable --autolaunch for subsequent restarts
+ cmd_opts.autolaunch = False
app.add_middleware(GZipMiddleware, minimum_size=1000)