Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -133,6 +133,7 @@ def run_lora(prompt, image_input, image_strength, cfg_scale, steps, selected_ind
|
|
133 |
else:
|
134 |
prompt_mash = prompt
|
135 |
|
|
|
136 |
with calculateDuration("Unloading LoRA"):
|
137 |
pipe.unload_lora_weights()
|
138 |
pipe_i2i.unload_lora_weights()
|
@@ -313,7 +314,7 @@ with gr.Blocks(css=css, delete_cache=(60, 3600)) as app:
|
|
313 |
with gr.Row():
|
314 |
randomize_seed = gr.Checkbox(True, label="Randomize seed")
|
315 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
|
316 |
-
lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=3, step=0.01, value=
|
317 |
|
318 |
gallery.select(
|
319 |
update_selection,
|
|
|
133 |
else:
|
134 |
prompt_mash = prompt
|
135 |
|
136 |
+
print(f"Prompt Mash: {prompt_mash}")
|
137 |
with calculateDuration("Unloading LoRA"):
|
138 |
pipe.unload_lora_weights()
|
139 |
pipe_i2i.unload_lora_weights()
|
|
|
314 |
with gr.Row():
|
315 |
randomize_seed = gr.Checkbox(True, label="Randomize seed")
|
316 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
|
317 |
+
lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=3, step=0.01, value=1.1)
|
318 |
|
319 |
gallery.select(
|
320 |
update_selection,
|