From d0be79c33d51c012790a733fc678945c6ae4cedd Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Fri, 24 Feb 2023 14:54:23 -0500 Subject: [PATCH] fixes crashes on merge in both WebUI and console - an inadvertent change to the model manager broke the merging functions - corrected here - will be a hotfix --- ldm/invoke/model_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldm/invoke/model_manager.py b/ldm/invoke/model_manager.py index 694d65c1a7..4957052e44 100644 --- a/ldm/invoke/model_manager.py +++ b/ldm/invoke/model_manager.py @@ -624,7 +624,7 @@ class ModelManager(object): self, repo_or_path: Union[str, Path], model_name: str = None, - model_description: str = None, + description: str = None, vae: dict = None, commit_to_conf: Path = None, ) -> bool: @@ -640,7 +640,7 @@ class ModelManager(object): models.yaml file. """ model_name = model_name or Path(repo_or_path).stem - model_description = model_description or f"Imported diffusers model {model_name}" + model_description = description or f"Imported diffusers model {model_name}" new_config = dict( description=model_description, vae=vae,