Spaces:
Runtime error
Runtime error
Stefan Benten
commited on
Commit
·
83ecce9
1
Parent(s):
5cee47c
app.py: remove minimum of 1 for sliders
Browse files
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",
|
| 158 |
-
height = gr.Slider(label="Height",
|
| 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)
|