diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-02-19 12:04:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 12:04:03 +0000 |
commit | 076d624a297532d6e4abebe5807fd7c7504d7a73 (patch) | |
tree | ce218bfe34702314ac19669c37bb4f7af3455ae1 /modules/shared.py | |
parent | 72022133581e47a5b65075777522b392fb77b285 (diff) | |
parent | 014e7323f6f54a38183f8de52dc83f2248eee251 (diff) | |
download | stable-diffusion-webui-gfx803-076d624a297532d6e4abebe5807fd7c7504d7a73.tar.gz stable-diffusion-webui-gfx803-076d624a297532d6e4abebe5807fd7c7504d7a73.tar.bz2 stable-diffusion-webui-gfx803-076d624a297532d6e4abebe5807fd7c7504d7a73.zip |
Merge pull request #7933 from w-e-w/fix-auto-sd-download
Fix issue with auto sd1.5 download
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 2c2edfbd..805f9cc1 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -108,6 +108,7 @@ parser.add_argument("--server-name", type=str, help="Sets hostname of server", d parser.add_argument("--gradio-queue", action='store_true', help="Uses gradio queue; experimental option; breaks restart UI button")
parser.add_argument("--skip-version-check", action='store_true', help="Do not check versions of torch and xformers")
parser.add_argument("--no-hashing", action='store_true', help="disable sha256 hashing of checkpoints to help loading performance", default=False)
+parser.add_argument("--no-download-sd-model", action='store_true', help="don't download SD1.5 model even if no model is found in --ckpt-dir", default=False)
script_loading.preload_extensions(extensions.extensions_dir, parser)
|