mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-21 17:40:29 -08:00
change hypernets to use sha256 hashes
This commit is contained in:
parent
a95f135308
commit
f9ac3352cb
4 changed files with 26 additions and 19 deletions
|
|
@ -125,7 +125,7 @@ def list_models():
|
|||
def get_closet_checkpoint_match(search_string):
|
||||
checkpoint_info = checkpoint_alisases.get(search_string, None)
|
||||
if checkpoint_info is not None:
|
||||
return
|
||||
return checkpoint_info
|
||||
|
||||
found = sorted([info for info in checkpoints_list.values() if search_string in info.title], key=lambda x: len(x.title))
|
||||
if found:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue