diff options
author | Jabasukuriputo Wang <wfjsw@users.noreply.github.com> | 2023-07-19 02:33:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 02:33:31 +0000 |
commit | fc3bdf8c1184de1116fe9f30b72905b4b3285e74 (patch) | |
tree | 64e993c6bce48ddd4fb2d60fd5105bd6c725d52c /modules/sd_models.py | |
parent | 3c570421d3a2eb24528b5f5bb615dcb0c7717e4a (diff) | |
parent | b010eea520caa90d2a31d98ec7c4a9d9d540c9ad (diff) | |
download | stable-diffusion-webui-gfx803-fc3bdf8c1184de1116fe9f30b72905b4b3285e74.tar.gz stable-diffusion-webui-gfx803-fc3bdf8c1184de1116fe9f30b72905b4b3285e74.tar.bz2 stable-diffusion-webui-gfx803-fc3bdf8c1184de1116fe9f30b72905b4b3285e74.zip |
Merge branch 'dev' into move-start-timer
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r-- | modules/sd_models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py index 5813b550..fb31a793 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -494,7 +494,7 @@ def load_model(checkpoint_info=None, already_loaded_state_dict=None): sd_model = None
try:
- with sd_disable_initialization.DisableInitialization(disable_clip=clip_is_included_into_sd):
+ with sd_disable_initialization.DisableInitialization(disable_clip=clip_is_included_into_sd or shared.cmd_opts.do_not_download_clip):
sd_model = instantiate_from_config(sd_config.model)
except Exception:
pass
|