diff --git a/scripts/convert_diffusers_sdxl_lora_to_webui.py b/scripts/convert_diffusers_sdxl_lora_to_webui.py index c054226fa2..dfb3871275 100644 --- a/scripts/convert_diffusers_sdxl_lora_to_webui.py +++ b/scripts/convert_diffusers_sdxl_lora_to_webui.py @@ -39,14 +39,15 @@ def convert_and_save(input_lora, output_lora=None): if __name__ == "__main__": parser = argparse.ArgumentParser(description="Convert LoRA model to PEFT and then to Kohya format.") parser.add_argument( - "input_lora", + "--input_lora", type=str, + required=True, help="Path to the input LoRA model file in the diffusers format.", ) parser.add_argument( - "output_lora", + "--output_lora", type=str, - nargs="?", + required=False, help="Path for the converted LoRA (safetensors format for AUTOMATIC1111, ComfyUI, etc.). Optional, defaults to input name with a _webui suffix.", )