multimodalart HF staff commited on
Commit
ae797de
1 Parent(s): 3549a6d

Update app.py

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