Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
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:
|