Commit 696cb33e authored by w-e-w's avatar w-e-w Committed by AUTOMATIC1111

after initial launch, disable --autolaunch for subsequent restarts

parent 1ef32c8b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment