This commit is contained in:
Ruixi Fan 2024-04-18 22:42:33 -07:00
parent 32bb04b9f7
commit d77526118f
No known key found for this signature in database
GPG Key ID: C6112CB66F7DED6C

View File

@ -229,7 +229,7 @@ class PromptServer():
uri=weight_url,
target_file_path=temp_save_path,
)
if weight_type and convert_weight == "lora":
if weight_type == "lora" and convert_weight:
lora_convert_and_save(
input_lora=temp_save_path,
output_lora=final_save_path,