diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-30 09:46:52 +0300 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-30 09:46:52 +0300 |
commit | 8f1b3153180da3b626529a7d077eac63d4b2e5e4 (patch) | |
tree | f6fb5107b69112e5c5a3bcd3d101e0bedf6c2cb2 /modules/sd_models.py | |
parent | 25414bcd05ef8072ce97056039bdd99379b74be9 (diff) |
fix bugs in the PR
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 3f3f6b7c..4b9000a4 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -96,7 +96,7 @@ def list_models(): 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:
h = model_hash(filename)
- title = modeltitle(filename, h)
+ title, model_name = modeltitle(filename, h)
checkpoints_list[title] = CheckpointInfo(filename, title, h, model_name)
def get_closet_checkpoint_match(searchString):
|