Update app.py
Browse files
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.
|
| 21 |
label="Choose Grid Layout",
|
| 22 |
-
choices=["1x2", "1x3", "
|
| 23 |
-
|
| 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 |
],
|