Stefan Benten commited on
Commit
83ecce9
1 Parent(s): 5cee47c

app.py: remove minimum of 1 for sliders

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -154,8 +154,8 @@ with gr.Blocks(css=css) as demo:
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", maximum=1, value=1)
 
154
 
155
  with gr.Row():
156
  with gr.Column(scale=1):
157
+ width = gr.Slider(label="Width", maximum=1024, value=512, step=8)
158
+ height = gr.Slider(label="Height", maximum=1024, value=512, step=8)
159
 
160
  with gr.Column(scale=1):
161
  batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)