fix modelloader from huggingface

This commit is contained in:
Vladimir Mandic
2024-03-12 11:35:40 -04:00
parent 0629e66f44
commit 9d065b83e4
5 changed files with 87 additions and 8 deletions
+2
View File
@@ -301,6 +301,8 @@ def load_reference(name: str):
if len(found) > 0: # already downloaded
model_opts = get_reference_opts(found[0]['name'])
return True
else:
model_opts = get_reference_opts(name)
if model_opts.get('skip', False):
return True
shared.log.debug(f'Reference: download="{name}"')