nikofrost commited on
Commit
9c2e80f
·
verified ·
1 Parent(s): 9a17e5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -151,9 +151,12 @@ with gr.Blocks(css=css) as app:
151
  with gr.Row():
152
  gr.Button("512 x 512").click(lambda: (512, 512), outputs=[width, height])
153
  gr.Button("512 x 768").click(lambda: (512, 768), outputs=[width, height])
154
- gr.Button("1024x1024").click(lambda: (1024, 1024), outputs=[width, height])
155
- gr.Button("1200 x 1800").click(lambda: (1200, 1800), outputs=[width, height])
 
 
156
  gr.Button("1376 x 2048").click(lambda: (1376, 2048), outputs=[width, height])
 
157
  gr.Button("1856 x 2752").click(lambda: (1856, 2752), outputs=[width, height])
158
  seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=4294967296, step=1)
159
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
 
151
  with gr.Row():
152
  gr.Button("512 x 512").click(lambda: (512, 512), outputs=[width, height])
153
  gr.Button("512 x 768").click(lambda: (512, 768), outputs=[width, height])
154
+ gr.Button("768 x 512").click(lambda: (768, 512), outputs=[width, height])
155
+ gr.Button("704 x 1024").click(lambda: (704, 1024), outputs=[width, height])
156
+ gr.Button("1024 x 1024").click(lambda: (1024, 1024), outputs=[width, height])
157
+ gr.Button("1216 x 1856").click(lambda: (1216, 1856), outputs=[width, height])
158
  gr.Button("1376 x 2048").click(lambda: (1376, 2048), outputs=[width, height])
159
+ gr.Button("2048 x 2048").click(lambda: (2048, 2048), outputs=[width, height])
160
  gr.Button("1856 x 2752").click(lambda: (1856, 2752), outputs=[width, height])
161
  seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=4294967296, step=1)
162
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)