diff --git a/invokeai/backend/model_management/model_manager.py b/invokeai/backend/model_management/model_manager.py index eac2e1dbbf..67e053db27 100644 --- a/invokeai/backend/model_management/model_manager.py +++ b/invokeai/backend/model_management/model_manager.py @@ -595,9 +595,10 @@ class ModelManager(object): the combined format of the list_models() method. """ models = self.list_models(base_model, model_type, model_name) - if len(models) > 1: + if len(models) >= 1: return models[0] - return None + else: + return None def list_models( self,