diff --git a/lora_diffusion/cli_lora_add.py b/lora_diffusion/cli_lora_add.py index fc7f7e4..3749600 100644 --- a/lora_diffusion/cli_lora_add.py +++ b/lora_diffusion/cli_lora_add.py @@ -105,6 +105,8 @@ def add( ret_tensor[keys] = tens1 save_file(ret_tensor, output_path, metadata) + else: + raise ValueError(f"{mode} chosen, but both paths have mismatches file extension.") elif mode == "upl":