diff options
author | d8ahazard <d8ahazard@gmail.com> | 2022-09-30 19:27:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 19:27:27 +0000 |
commit | a9a0320d2688a292fe834986c9abe141ff29bf7c (patch) | |
tree | b5c1bb8b171831525cb57996d6651084f7c5efdf /modules/sd_models.py | |
parent | 7ab91d9e1bf3abc11dc0d90e270b199ae8c3c84a (diff) | |
parent | 2b03f0bbda1229dff6e7ab6f656b28587eba8308 (diff) | |
download | stable-diffusion-webui-gfx803-a9a0320d2688a292fe834986c9abe141ff29bf7c.tar.gz stable-diffusion-webui-gfx803-a9a0320d2688a292fe834986c9abe141ff29bf7c.tar.bz2 stable-diffusion-webui-gfx803-a9a0320d2688a292fe834986c9abe141ff29bf7c.zip |
Merge branch 'master' into master
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r-- | modules/sd_models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py index ab014efb..2539f14c 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -69,6 +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
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:
|