mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-29 10:41:25 +00:00
after initial launch, disable --autolaunch for subsequent restarts
This commit is contained in:
2
webui.py
2
webui.py
@@ -135,6 +135,8 @@ def webui():
|
|||||||
inbrowser=cmd_opts.autolaunch,
|
inbrowser=cmd_opts.autolaunch,
|
||||||
prevent_thread_lock=True
|
prevent_thread_lock=True
|
||||||
)
|
)
|
||||||
|
# after initial launch, disable --autolaunch for subsequent restarts
|
||||||
|
cmd_opts.autolaunch = False
|
||||||
|
|
||||||
app.add_middleware(GZipMiddleware, minimum_size=1000)
|
app.add_middleware(GZipMiddleware, minimum_size=1000)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user