John6666 commited on
Commit
5316373
1 Parent(s): c9302f4

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -279,6 +279,7 @@ def run_lora(prompt, image_input, image_strength, cfg_scale, steps, selected_ind
279
  # Load External LoRA weights
280
  with calculateDuration("Loading External LoRA weights"):
281
  fuse_loras(pipe, lora_json)
 
282
  trigger_word = get_trigger_word(lora_json)
283
  prompt_mash = f"{prompt} {trigger_word}"
284
  if selected_index is not None:
 
279
  # Load External LoRA weights
280
  with calculateDuration("Loading External LoRA weights"):
281
  fuse_loras(pipe, lora_json)
282
+ fuse_loras(pipe_i2i, lora_json)
283
  trigger_word = get_trigger_word(lora_json)
284
  prompt_mash = f"{prompt} {trigger_word}"
285
  if selected_index is not None: