diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-06-05 15:25:28 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-06-05 16:09:30 +0000 |
commit | 1411a6e74b2fa07ecfc2117d774520f957651145 (patch) | |
tree | f2f4a7a00b696c6cc2c7a87a97fdec0fe406cdf8 /modules/launch_utils.py | |
parent | 18acc0b30d9184702a772287ed8197385e0aed98 (diff) | |
download | stable-diffusion-webui-gfx803-1411a6e74b2fa07ecfc2117d774520f957651145.tar.gz stable-diffusion-webui-gfx803-1411a6e74b2fa07ecfc2117d774520f957651145.tar.bz2 stable-diffusion-webui-gfx803-1411a6e74b2fa07ecfc2117d774520f957651145.zip |
rework-disable-autolaunch
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r-- | modules/launch_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index af8d8b37..59008385 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -247,6 +247,7 @@ def prepare_environment(): try:
# the existance of this file is a signal to webui.sh/bat that webui needs to be restarted when it stops execution
os.remove(os.path.join(script_path, "tmp", "restart"))
+ os.environ.setdefault('SD_WEBUI_DISABLE_AUTOLAUNCH', '1')
except OSError:
pass
|