Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -309,18 +309,18 @@ Image model: [IllustriousXL v0.1](https://huggingface.co/OnomaAIResearch/Illustr
|
|
309 |
with gr.Row():
|
310 |
width = gr.Slider(
|
311 |
label="Width",
|
312 |
-
minimum=
|
313 |
maximum=MAX_IMAGE_SIZE,
|
314 |
-
step=
|
315 |
-
value=
|
316 |
)
|
317 |
|
318 |
height = gr.Slider(
|
319 |
label="Height",
|
320 |
-
minimum=
|
321 |
maximum=MAX_IMAGE_SIZE,
|
322 |
-
step=
|
323 |
-
value=
|
324 |
)
|
325 |
|
326 |
with gr.Row():
|
|
|
309 |
with gr.Row():
|
310 |
width = gr.Slider(
|
311 |
label="Width",
|
312 |
+
minimum=640,
|
313 |
maximum=MAX_IMAGE_SIZE,
|
314 |
+
step=128,
|
315 |
+
value=960, # Replace with defaults that work for your model
|
316 |
)
|
317 |
|
318 |
height = gr.Slider(
|
319 |
label="Height",
|
320 |
+
minimum=640,
|
321 |
maximum=MAX_IMAGE_SIZE,
|
322 |
+
step=128,
|
323 |
+
value=1344, # Replace with defaults that work for your model
|
324 |
)
|
325 |
|
326 |
with gr.Row():
|