AlekseyCalvin commited on
Commit
99a0f1e
1 Parent(s): dcddd12

Update app.py

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