Closed GwonHyeok closed 2 months ago
if lora_save_name in existing_loras: raise "LoRA file '{lora_save_name}' already exists."
This code is raising an error if default_lora_name starts with http and the file lora_save_name already exists.
default_lora_name
lora_save_name
This implementation needs to add a part to check if the file has been downloaded externally.
Instead of raising an error, it would be better to use return (lora_save_name,) to make the saved file available.
return (lora_save_name,)
This code is raising an error if
default_lora_name
starts with http and the filelora_save_name
already exists.This implementation needs to add a part to check if the file has been downloaded externally.
Instead of raising an error, it would be better to use
return (lora_save_name,)
to make the saved file available.