fix 424 error on model import

This commit is contained in:
Lincoln Stein 2023-07-17 22:21:11 -04:00
parent 5b7eef3d43
commit 025cda3815

View File

@ -212,7 +212,7 @@ class ModelInstall(object):
{'config.json','model_index.json','learned_embeds.bin','pytorch_lora_weights.bin'} {'config.json','model_index.json','learned_embeds.bin','pytorch_lora_weights.bin'}
] ]
): ):
models_installed.update(self._install_path(path)) models_installed.update({str(model_path_id_or_url): self._install_path(path)})
# recursive scan # recursive scan
elif path.is_dir(): elif path.is_dir():