Update app.py
Browse files
app.py
CHANGED
@@ -526,9 +526,9 @@ def run_lora(prompt, cfg_scale, steps, selected_indices, lora_scale_1, lora_scal
|
|
526 |
## if image_input is not None:
|
527 |
## pipe_i2i.set_adapters(lora_names, adapter_weights=lora_weights)
|
528 |
## else:
|
529 |
-
pipe.set_adapters(lora_names, adapter_weights=lora_weights)
|
530 |
|
531 |
-
print("Active adapters after loading new LoRAs:", pipe.get_active_adapters())
|
532 |
|
533 |
# Set random seed for reproducibility
|
534 |
with calculateDuration("Randomizing seed"):
|
|
|
526 |
## if image_input is not None:
|
527 |
## pipe_i2i.set_adapters(lora_names, adapter_weights=lora_weights)
|
528 |
## else:
|
529 |
+
## pipe.set_adapters(lora_names, adapter_weights=lora_weights)
|
530 |
|
531 |
+
## print("Active adapters after loading new LoRAs:", pipe.get_active_adapters())
|
532 |
|
533 |
# Set random seed for reproducibility
|
534 |
with calculateDuration("Randomizing seed"):
|