Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,9 +33,9 @@ with gr.Blocks() as demo:
|
|
| 33 |
|
| 34 |
with gr.Accordion("Advanced", open=False):
|
| 35 |
negative_prompt = gr.Textbox(label="Negative Prompt")
|
| 36 |
-
width = gr.Slider(minimum=64, maximum=1024, step=
|
| 37 |
-
height = gr.Slider(minimum=64, maximum=1024, step=
|
| 38 |
-
steps = gr.Slider(minimum=
|
| 39 |
|
| 40 |
generate_btn.click(generate, inputs=[prompt, negative_prompt, width, height, steps], outputs=output)
|
| 41 |
|
|
|
|
| 33 |
|
| 34 |
with gr.Accordion("Advanced", open=False):
|
| 35 |
negative_prompt = gr.Textbox(label="Negative Prompt")
|
| 36 |
+
width = gr.Slider(minimum=64, maximum=1024, value=512, step=2, label="Width")
|
| 37 |
+
height = gr.Slider(minimum=64, maximum=1024, value=512, step=2, label="Height")
|
| 38 |
+
steps = gr.Slider(minimum=4, maximum=50, step=1, value=20, label="Steps")
|
| 39 |
|
| 40 |
generate_btn.click(generate, inputs=[prompt, negative_prompt, width, height, steps], outputs=output)
|
| 41 |
|