From 8c9fb0a08197caf55a5b754e285025f427bc8fc2 Mon Sep 17 00:00:00 2001 From: Ryan Dick Date: Thu, 30 May 2024 10:01:48 -0400 Subject: [PATCH] (minor) Fix --lora-model arg help text. --- .../_experimental/lora_merge/merge_lora_into_sd_model.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/invoke_training/scripts/_experimental/lora_merge/merge_lora_into_sd_model.py b/src/invoke_training/scripts/_experimental/lora_merge/merge_lora_into_sd_model.py index c4a12ad1..ac4ad096 100644 --- a/src/invoke_training/scripts/_experimental/lora_merge/merge_lora_into_sd_model.py +++ b/src/invoke_training/scripts/_experimental/lora_merge/merge_lora_into_sd_model.py @@ -12,11 +12,8 @@ from invokeai.backend.model_manager import BaseModelType from invokeai.backend.lora import LoRAModelRaw from invokeai.backend.model_patcher import ModelPatcher - # fmt: on -from invoke_training._shared.stable_diffusion.model_loading_utils import ( - PipelineVersionEnum, load_pipeline) - +from invoke_training._shared.stable_diffusion.model_loading_utils import PipelineVersionEnum, load_pipeline # TODO(ryand): Consolidate multiple implementations of this function across the project. @@ -174,8 +171,8 @@ def main(): type=str, nargs="+", help="The path(s) to one or more LoRA models to merge into the base model. Model weights can be appended to " - "the path, separated by a double colon ('::'). E.g. 'path/to/lora_model|0.5'. The weight is optional and defaults to " - "1.0.", + "the path, separated by a double colon ('::'). E.g. 'path/to/lora_model::0.5'. The weight is optional and " + "defaults to 1.0.", required=True, ) parser.add_argument(