Spaces:
Runtime error
Runtime error
montyanderson
commited on
Commit
•
4c06fca
1
Parent(s):
79e5823
`app.py`: fix indentation
Browse files
app.py
CHANGED
@@ -152,14 +152,14 @@ with gr.Blocks(css=css) as demo:
|
|
152 |
with gr.Column(scale=1):
|
153 |
steps = gr.Slider(label="Sampling Steps", miniumum=1, maximum=50, value=25, step=1)
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
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)
|
|
|
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)
|