multimodalart HF staff AP123 commited on
Commit
5e2e272
1 Parent(s): 9c7e38e

Update app.py to 8 steps and 1.2 LoRA weight as default (#1)

Browse files

- Update app.py to 8 steps and 1.2 LoRA weight as default (e468bc73e37c55aa31f79bf5d7e58776cf2aa299)


Co-authored-by: AP <[email protected]>

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -216,7 +216,7 @@ with gr.Blocks(css="custom.css") as demo:
216
  title = gr.HTML(
217
  """<h1><img src="https://i.imgur.com/vT48NAO.png" alt="LoRA"><small><small><i>Experimental</i></small></small>&nbsp;&nbsp;LCM LoRA the Explorer</h1>
218
  <br>
219
- Combine loading an <a href="#">LCM-LoRA</a> with your favorite SDXL LoRa and run LoRAs in only 4 steps. Check out <a href="#">our blog</a>on how this works. <b>Not all LoRAs may combine well with the LCM-LoRA</b>
220
  """,
221
  elem_id="title",
222
  )
@@ -253,8 +253,8 @@ with gr.Blocks(css="custom.css") as demo:
253
  )
254
  with gr.Accordion("Advanced options", open=False):
255
  negative = gr.Textbox(label="Negative Prompt", visible=False)
256
- weight = gr.Slider(0, 10, value=0.8, step=0.1, label="LoRA weight")
257
- steps = gr.Slider(0,8, value=4, step=1, label="Steps")
258
  with gr.Column(elem_id="extra_info"):
259
  with gr.Accordion(
260
  "Use it with: 🧨 diffusers, ComfyUI, Invoke AI, SD.Next, AUTO1111",
 
216
  title = gr.HTML(
217
  """<h1><img src="https://i.imgur.com/vT48NAO.png" alt="LoRA"><small><small><i>Experimental</i></small></small>&nbsp;&nbsp;LCM LoRA the Explorer</h1>
218
  <br>
219
+ Combine loading an <a href="#">LCM-LoRA</a> with your favorite SDXL LoRa and run LoRAs in only 8 steps. Check out <a href="#">our blog</a>on how this works. Try experimenting with step count and LoRA strength in advanced settings!<b>Not all LoRAs may combine well with the LCM-LoRA</b>
220
  """,
221
  elem_id="title",
222
  )
 
253
  )
254
  with gr.Accordion("Advanced options", open=False):
255
  negative = gr.Textbox(label="Negative Prompt", visible=False)
256
+ weight = gr.Slider(0, 10, value=1.2, step=0.1, label="LoRA weight")
257
+ steps = gr.Slider(0,8, value=8, step=1, label="Steps")
258
  with gr.Column(elem_id="extra_info"):
259
  with gr.Accordion(
260
  "Use it with: 🧨 diffusers, ComfyUI, Invoke AI, SD.Next, AUTO1111",