Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -380,7 +380,7 @@ def run_lora(prompt, cfg_scale, steps, selected_indices, lora_scale_1, lora_scal
|
|
380 |
# if image_input is not None:
|
381 |
# pipe_i2i.set_adapters(lora_names, adapter_weights=lora_weights)
|
382 |
# else:
|
383 |
-
|
384 |
# print(pipe.get_active_adapters())
|
385 |
# Set random seed for reproducibility
|
386 |
with calculateDuration("Randomizing seed"):
|
|
|
380 |
# if image_input is not None:
|
381 |
# pipe_i2i.set_adapters(lora_names, adapter_weights=lora_weights)
|
382 |
# else:
|
383 |
+
pipe.set_adapters(lora_names, adapter_weights=lora_weights)
|
384 |
# print(pipe.get_active_adapters())
|
385 |
# Set random seed for reproducibility
|
386 |
with calculateDuration("Randomizing seed"):
|