AlekseyCalvin commited on
Commit
2fb92b2
1 Parent(s): 971abb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -169,8 +169,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
169
  with gr.Accordion("Advanced Settings", open=True):
170
  with gr.Column():
171
  with gr.Row():
172
- cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)
173
- steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=6)
174
 
175
  with gr.Row():
176
  width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
@@ -179,7 +179,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
179
  with gr.Row():
180
  randomize_seed = gr.Checkbox(True, label="Randomize seed")
181
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
182
- lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1.5, step=0.01, value=0.9)
183
 
184
  gallery.select(
185
  update_selection,
 
169
  with gr.Accordion("Advanced Settings", open=True):
170
  with gr.Column():
171
  with gr.Row():
172
+ cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.0)
173
+ steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=20)
174
 
175
  with gr.Row():
176
  width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
 
179
  with gr.Row():
180
  randomize_seed = gr.Checkbox(True, label="Randomize seed")
181
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
182
+ lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=2.0, step=0.01, value=0.5)
183
 
184
  gallery.select(
185
  update_selection,