multimodalart HF staff commited on
Commit
564282c
1 Parent(s): 7857ac2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -351,8 +351,8 @@ def run_lora(prompt, image_input, image_strength, cfg_scale, steps, selected_ind
351
  low_cpu_mem_usage=True,
352
  adapter_name=lora_name
353
  )
354
- if image_input is not None: pipe_i2i = pipe_to_use
355
- else: pipe = pipe_to_use
356
  print("Loaded LoRAs:", lora_names)
357
  print("Adapter weights:", lora_weights)
358
  if image_input is not None:
 
351
  low_cpu_mem_usage=True,
352
  adapter_name=lora_name
353
  )
354
+ # if image_input is not None: pipe_i2i = pipe_to_use
355
+ # else: pipe = pipe_to_use
356
  print("Loaded LoRAs:", lora_names)
357
  print("Adapter weights:", lora_weights)
358
  if image_input is not None: