Stefan Benten commited on
Commit
b9a04e3
1 Parent(s): 921614f

app.py: update defaults for selection sliders

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -150,18 +150,18 @@ with gr.Blocks(css=css) as demo:
150
  ])
151
 
152
  with gr.Column(scale=1):
153
- steps = gr.Slider(label="Sampling Steps", miniumum=1, maximum=50, value=25, step=1)
154
 
155
  with gr.Row():
156
  with gr.Column(scale=1):
157
- width = gr.Slider(label="Width", miniumum=1, maximum=1024, value=512, step=1)
158
- height = gr.Slider(label="Height", miniumum=1, maximum=1024, value=512, step=1)
159
 
160
  with gr.Column(scale=1):
161
- batch_size = gr.Slider(label="Batch Size", miniumum=1, maximum=1, value=1)
162
- batch_count = gr.Slider(label="Batch Count", miniumum=1, maximum=1, value=1)
163
 
164
- cfg_scale = gr.Slider(label="CFG Scale", miniumum=1, maximum=20, value=7, step=1)
165
  seed = gr.Number(label="Seed", value=-1)
166
 
167
 
 
150
  ])
151
 
152
  with gr.Column(scale=1):
153
+ steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=30, value=25, step=1)
154
 
155
  with gr.Row():
156
  with gr.Column(scale=1):
157
+ width = gr.Slider(label="Width", minimum=1, maximum=1024, value=512, step=8)
158
+ height = gr.Slider(label="Height", minimum=1, maximum=1024, value=512, step=8)
159
 
160
  with gr.Column(scale=1):
161
+ batch_size = gr.Slider(label="Batch Size", minimum=1, maximum=1, value=1)
162
+ batch_count = gr.Slider(label="Batch Count", minimum=1, maximum=1, value=1)
163
 
164
+ cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
165
  seed = gr.Number(label="Seed", value=-1)
166
 
167