Keltezaa commited on
Commit
7951fb1
Β·
verified Β·
1 Parent(s): eb0bb86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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"):