Krebzonide
commited on
Commit
·
aafeda4
1
Parent(s):
2839abc
Update app.py
Browse files
app.py
CHANGED
@@ -67,8 +67,8 @@ with gr.Blocks(css=css) as demo:
|
|
67 |
batch_size = gr.Slider(1, 6, value=1, step=1, label="Batch size")
|
68 |
with gr.Row():
|
69 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=999999, step=1)
|
70 |
-
height = gr.Slider(label="Height", value=1024, minumum
|
71 |
-
width = gr.Slider(label="Width", value=1024, minumum
|
72 |
gallery = gr.Gallery(label="Generated images", height=800)
|
73 |
|
74 |
submit_btn.click(generate, [prompt, negative_prompt, samp_steps, guide_scale, batch_size, seed, height, width], [gallery], queue=True)
|
|
|
67 |
batch_size = gr.Slider(1, 6, value=1, step=1, label="Batch size")
|
68 |
with gr.Row():
|
69 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=999999, step=1)
|
70 |
+
height = gr.Slider(label="Height", value=1024, minumum=512, maximum=2048, step=8)
|
71 |
+
width = gr.Slider(label="Width", value=1024, minumum=512, maximum=2048, step=8)
|
72 |
gallery = gr.Gallery(label="Generated images", height=800)
|
73 |
|
74 |
submit_btn.click(generate, [prompt, negative_prompt, samp_steps, guide_scale, batch_size, seed, height, width], [gallery], queue=True)
|