Update app.py
Browse files
app.py
CHANGED
@@ -532,7 +532,7 @@ def run_lora(prompt, cfg_scale, steps, selected_indices, lora_scale_1, lora_scal
|
|
532 |
## if image_input is not None:
|
533 |
## pipe_i2i.set_adapters(lora_names, adapter_weights=lora_weights)
|
534 |
## else:
|
535 |
-
|
536 |
|
537 |
print("Active adapters after loading new LoRAs:", pipe.get_active_adapters())
|
538 |
|
|
|
532 |
## if image_input is not None:
|
533 |
## pipe_i2i.set_adapters(lora_names, adapter_weights=lora_weights)
|
534 |
## else:
|
535 |
+
pipe.set_adapters(lora_names, adapter_weights=lora_weights)
|
536 |
|
537 |
print("Active adapters after loading new LoRAs:", pipe.get_active_adapters())
|
538 |
|