cr8 commited on
Commit
9a40844
·
verified ·
1 Parent(s): fa1ca7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,10 +17,10 @@ def process_images(layout, image_files):
17
  iface = gr.Interface(
18
  fn=process_images,
19
  inputs=[
20
- gr.Dropdown(
21
  label="Choose Grid Layout",
22
- choices=["1x2", "1x3", "1x4", "2x2", "2x3", "random", "jagged4", "split6", "chaos5"],
23
- default="3x3"
24
  ),
25
  gr.File(label="Upload Images", type="file", multiple=True) # Multiple image upload
26
  ],
 
17
  iface = gr.Interface(
18
  fn=process_images,
19
  inputs=[
20
+ gr.CheckboxGroup(
21
  label="Choose Grid Layout",
22
+ choices=["1x2", "1x3", "2x2", "2x3"],
23
+ type="value" # This allows for the selection of multiple options if needed
24
  ),
25
  gr.File(label="Upload Images", type="file", multiple=True) # Multiple image upload
26
  ],