diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-13 05:29:37 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-13 05:29:37 +0000 |
commit | b717eb7e56a4e620e77a2225e80223c89cb4f0d1 (patch) | |
tree | 1ea1f4942169fe0d2c9ca5685614a25853f78e3e /modules/launch_utils.py | |
parent | a04c95512148fc6df64535a995fbc8f499cae206 (diff) | |
download | stable-diffusion-webui-gfx803-b717eb7e56a4e620e77a2225e80223c89cb4f0d1.tar.gz stable-diffusion-webui-gfx803-b717eb7e56a4e620e77a2225e80223c89cb4f0d1.tar.bz2 stable-diffusion-webui-gfx803-b717eb7e56a4e620e77a2225e80223c89cb4f0d1.zip |
mute unneeded SDXL imports for tests too
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r-- | modules/launch_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 4f48f3a1..56b972d5 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -334,8 +334,6 @@ def prepare_environment(): if args.update_all_extensions:
git_pull_recursive(extensions_dir)
- mute_sdxl_imports()
-
if "--exit" in sys.argv:
print("Exiting because of --exit argument")
exit(0)
@@ -357,6 +355,8 @@ def configure_for_tests(): def start():
+ mute_sdxl_imports()
+
print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with arguments: {' '.join(sys.argv[1:])}")
import webui
if '--nowebui' in sys.argv:
|