From 957ff8a17e661e98556699fcf2b5cad38ab41f4d Mon Sep 17 00:00:00 2001 From: Brandon Rising Date: Fri, 23 Feb 2024 10:19:20 -0500 Subject: [PATCH] Remove passing keys in on register --- invokeai/app/services/model_install/model_install_default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/services/model_install/model_install_default.py b/invokeai/app/services/model_install/model_install_default.py index c2718b5b2e..9b771c5159 100644 --- a/invokeai/app/services/model_install/model_install_default.py +++ b/invokeai/app/services/model_install/model_install_default.py @@ -543,7 +543,7 @@ class ModelInstallService(ModelInstallServiceBase): self, model_path: Path, config: Optional[Dict[str, Any]] = None, info: Optional[AnyModelConfig] = None ) -> str: info = info or ModelProbe.probe(model_path, config) - key = info.key or self._create_key() + key = self._create_key() model_path = model_path.absolute() if model_path.is_relative_to(self.app_config.models_path):