AlekseyCalvin commited on
Commit
9c96683
1 Parent(s): 4e8a887

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -146,8 +146,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
146
  with gr.Accordion("Advanced Settings", open=True):
147
  with gr.Column():
148
  with gr.Row():
149
- cfg_scale = gr.Slider(label="CFG Scale", minimum=0, maximum=20, step=.5, value=1.3)
150
- steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=6)
151
 
152
  with gr.Row():
153
  width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=768)
@@ -156,7 +156,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
156
  with gr.Row():
157
  randomize_seed = gr.Checkbox(True, label="Randomize seed")
158
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
159
- lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1.9, step=0.01, value=0.5)
160
 
161
  gallery.select(
162
  update_selection,
 
146
  with gr.Accordion("Advanced Settings", open=True):
147
  with gr.Column():
148
  with gr.Row():
149
+ cfg_scale = gr.Slider(label="CFG Scale", minimum=0, maximum=20, step=.5, value=3.5)
150
+ steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=20)
151
 
152
  with gr.Row():
153
  width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=768)
 
156
  with gr.Row():
157
  randomize_seed = gr.Checkbox(True, label="Randomize seed")
158
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
159
+ lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=3.0, step=0.01, value=0.5)
160
 
161
  gallery.select(
162
  update_selection,