Spaces:
Paused
Paused
Stefan Benten
commited on
Commit
•
b9a04e3
1
Parent(s):
921614f
app.py: update defaults for selection sliders
Browse files
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",
|
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",
|
162 |
-
batch_count = gr.Slider(label="Batch Count",
|
163 |
|
164 |
-
cfg_scale = gr.Slider(label="CFG Scale",
|
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 |
|