nroggendorff commited on
Commit
96a1c07
·
verified ·
1 Parent(s): 27633e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=64, label="Width")
37
- height = gr.Slider(minimum=64, maximum=1024, step=64, label="Height")
38
- steps = gr.Slider(minimum=1, maximum=50, step=1, label="Steps")
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