ehristoforu commited on
Commit
721a723
·
verified ·
1 Parent(s): c717871

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -94,8 +94,8 @@ with gr.Blocks(css=css) as demo:
94
  button = gr.Button(value="Generate", scale=1)
95
  with gr.Accordion("Advanced options", open=False):
96
  with gr.Row():
97
- width = gr.Slider(label="Width", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
98
- height = gr.Slider(label="Height", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
99
  with gr.Row():
100
  gallery = gr.Gallery(show_label=False, rows=1, columns=1, allow_preview=True, preview=True)
101
 
 
94
  button = gr.Button(value="Generate", scale=1)
95
  with gr.Accordion("Advanced options", open=False):
96
  with gr.Row():
97
+ width = gr.Slider(label="Width", minimum=512, maximum=1024, step=8, value=768, interactive=True)
98
+ height = gr.Slider(label="Height", minimum=512, maximum=1024, step=8, value=768, interactive=True)
99
  with gr.Row():
100
  gallery = gr.Gallery(show_label=False, rows=1, columns=1, allow_preview=True, preview=True)
101