Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -269,17 +269,23 @@ with gr.Blocks(css= "style.css") as app:
|
|
| 269 |
|
| 270 |
with gr.Row():
|
| 271 |
with gr.Column():
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 283 |
use_hires = gr.Checkbox(label="Use Hires?", value=False, scale=0)
|
| 284 |
with gr.Row():
|
| 285 |
upscaler = gr.Dropdown(choices=schedulers, label="Upscaler", value=schedulers[0])
|
|
|
|
| 269 |
|
| 270 |
with gr.Row():
|
| 271 |
with gr.Column():
|
| 272 |
+
with gr.Row():
|
| 273 |
+
scheduler_input = gr.Dropdown(choices=schedulers, label="Sampling method", value=schedulers[0])
|
| 274 |
+
seed_input = gr.Number(label="Seed", value=-1)
|
| 275 |
+
|
| 276 |
+
with gr.Row():
|
| 277 |
+
width_input = gr.Slider(minimum=128, maximum=2048, step=128, label="Width", value=512)
|
| 278 |
+
batch_size = gr.Slider(minimum=1, maximum=24, step=1, label="Batch size", value=1)
|
| 279 |
+
|
| 280 |
+
with gr.Row():
|
| 281 |
+
height_input = gr.Slider(minimum=128, maximum=2048, step=128, label="Height", value=512)
|
| 282 |
+
batch_count = gr.Slider(minimum=1, maximum=24, step=1, label="Batch Count", value=1)
|
| 283 |
+
|
| 284 |
+
with gr.Row():
|
| 285 |
+
num_steps_input = gr.Slider(minimum=1, maximum=100, step=1, label="Sampling steps", value=20)
|
| 286 |
+
cfg_scale_input = gr.Slider(minimum=1, maximum=20, step=1, label="CFG Scale", value=7)
|
| 287 |
+
|
| 288 |
+
with gr.Accordion("Hires. fix", open=False):
|
| 289 |
use_hires = gr.Checkbox(label="Use Hires?", value=False, scale=0)
|
| 290 |
with gr.Row():
|
| 291 |
upscaler = gr.Dropdown(choices=schedulers, label="Upscaler", value=schedulers[0])
|