diff --git a/invokeai/backend/model_management/model_manager.py b/invokeai/backend/model_management/model_manager.py index 209b7781bc..beb7d2753b 100644 --- a/invokeai/backend/model_management/model_manager.py +++ b/invokeai/backend/model_management/model_manager.py @@ -865,7 +865,7 @@ class ModelManager(object): model_config_file = self.globals.legacy_conf_path / "v1-inference.yaml" elif model_type == SDLegacyType.V1_INPAINT: self.logger.debug("SD-v1 inpainting model detected") - model_config_file = self.globals.legacy_conf_path / "v1-inpainting-inference.yaml", + model_config_file = self.globals.legacy_conf_path / "v1-inpainting-inference.yaml" elif model_type == SDLegacyType.V2_v: self.logger.debug("SD-v2-v model detected") model_config_file = self.globals.legacy_conf_path / "v2-inference-v.yaml" diff --git a/invokeai/frontend/install/model_install.py b/invokeai/frontend/install/model_install.py index fe48cb3b81..de7b9b6c0a 100644 --- a/invokeai/frontend/install/model_install.py +++ b/invokeai/frontend/install/model_install.py @@ -569,11 +569,13 @@ class addModelsForm(npyscreen.FormMultiPage): self.subprocess_connection = None self.monitor.entry_widget.buffer(['** Action Complete **']) self.display() - # this is crazy + # rebuild the form, saving log messages + saved_messages = self.monitor.entry_widget.values self.parentApp.main_form = self.parentApp.addForm( "MAIN", addModelsForm, name="Install Stable Diffusion Models" ) - self.parentApp.switchForm('NEW') + self.parentApp.switchForm('MAIN') + self.parentApp.main_form.monitor.entry_widget.values = saved_messages return self.monitor.entry_widget.buffer([data]) self.display()