after initial launch, disable --autolaunch for subsequent restarts
This commit is contained in:
parent
1ef32c8b8f
commit
696cb33e50
1 changed files with 2 additions and 0 deletions
2
webui.py
2
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue