aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_models.py
diff options
context:
space:
mode:
authorliamkerr <liamkerr@users.noreply.github.com>2022-10-02 14:26:20 +0000
committerGitHub <noreply@github.com>2022-10-02 14:26:20 +0000
commita32a068ed13f877560cfdddcfb0b606f476a5728 (patch)
tree9968de192a5ef38d9143315e638885ad64858570 /modules/sd_models.py
parent7308aeefd9d25212398068c1a35f0b879b9ba06f (diff)
parentf34e2293d0abffc412150f54ebb5c626101f6359 (diff)
downloadstable-diffusion-webui-gfx803-a32a068ed13f877560cfdddcfb0b606f476a5728.tar.gz
stable-diffusion-webui-gfx803-a32a068ed13f877560cfdddcfb0b606f476a5728.tar.bz2
stable-diffusion-webui-gfx803-a32a068ed13f877560cfdddcfb0b606f476a5728.zip
Merge branch 'master' into token_updates
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r--modules/sd_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py
index 5b3dbdc7..9259d69e 100644
--- a/modules/sd_models.py
+++ b/modules/sd_models.py
@@ -69,7 +69,7 @@ def list_models():
h = model_hash(cmd_ckpt)
title, short_model_name = modeltitle(cmd_ckpt, h)
checkpoints_list[title] = CheckpointInfo(cmd_ckpt, title, h, short_model_name)
- shared.opts.sd_model_checkpoint = title
+ shared.opts.data['sd_model_checkpoint'] = title
elif cmd_ckpt is not None and cmd_ckpt != shared.default_sd_model_file:
print(f"Checkpoint in --ckpt argument not found (Possible it was moved to {model_path}: {cmd_ckpt}", file=sys.stderr)
for filename in model_list: