From 2d314d2b3dfab11772c9b714f8922689390312b2 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sun, 2 Jul 2023 09:18:11 -0400 Subject: [PATCH] another fix to repo_id loading --- invokeai/backend/install/model_install_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/backend/install/model_install_backend.py b/invokeai/backend/install/model_install_backend.py index 650f9b3bdc..ac06c402d4 100644 --- a/invokeai/backend/install/model_install_backend.py +++ b/invokeai/backend/install/model_install_backend.py @@ -206,7 +206,7 @@ class ModelInstall(object): # huggingface repo elif len(str(model_path_id_or_url).split('/')) == 2: - models_installed.add(self._install_repo(str(path))) + models_installed.add(self._install_repo(str(model_path_id_or_url))) # a URL elif model_path_id_or_url.startswith(("http:", "https:", "ftp:")):