Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -355,6 +355,7 @@ def run_lora(prompt, image_input, image_strength, cfg_scale, steps, selected_ind
|
|
| 355 |
else:
|
| 356 |
pipe.load_lora_weights(lora_path, low_cpu_mem_usage=True, adapter_name=lora_name)
|
| 357 |
print("Loaded LoRAs:", lora_names)
|
|
|
|
| 358 |
if image_input is not None:
|
| 359 |
pipe_i2i.set_adapters(lora_names, adapter_weights=lora_weights)
|
| 360 |
else:
|
|
|
|
| 355 |
else:
|
| 356 |
pipe.load_lora_weights(lora_path, low_cpu_mem_usage=True, adapter_name=lora_name)
|
| 357 |
print("Loaded LoRAs:", lora_names)
|
| 358 |
+
print("Adapter weights:", lora_weights)
|
| 359 |
if image_input is not None:
|
| 360 |
pipe_i2i.set_adapters(lora_names, adapter_weights=lora_weights)
|
| 361 |
else:
|