Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Commit
•
71fbca3
1
Parent(s):
740bdb1
Update app.py
Browse files
app.py
CHANGED
@@ -254,7 +254,7 @@ with gr.Blocks(css="style.css", theme="zenafey/prodia-web") as demo:
|
|
254 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, interactive=True)
|
255 |
width = gr.Slider(label="↔️ Width", maximum=1024, value=768, step=8)
|
256 |
height = gr.Slider(label="↕️ Height", maximum=1024, value=768, step=8)
|
257 |
-
num_images = gr.Slider(minimum=1, maximum=10, value=
|
258 |
|
259 |
text_button.click(txt2img, inputs=[prompt, negative_prompt, model, sampler, steps, cfg_scale, width, height, num_images], outputs=images_output)
|
260 |
|
|
|
254 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, interactive=True)
|
255 |
width = gr.Slider(label="↔️ Width", maximum=1024, value=768, step=8)
|
256 |
height = gr.Slider(label="↕️ Height", maximum=1024, value=768, step=8)
|
257 |
+
num_images = gr.Slider(minimum=1, maximum=10, value=2, step=1, label="Image Count", interactive=True)
|
258 |
|
259 |
text_button.click(txt2img, inputs=[prompt, negative_prompt, model, sampler, steps, cfg_scale, width, height, num_images], outputs=images_output)
|
260 |
|