Update app.py
Browse files
app.py
CHANGED
|
@@ -135,14 +135,14 @@ def main():
|
|
| 135 |
with gr.Column(scale=1):
|
| 136 |
with gr.Row():
|
| 137 |
# Input images component for the user to upload multiple images
|
| 138 |
-
input_images = gr.
|
| 139 |
label="Input Images",
|
| 140 |
image_mode="RGBA", # Accept RGBA images
|
| 141 |
sources="upload", # Allow users to upload images
|
| 142 |
type="pil", # The images are returned as PIL images
|
| 143 |
elem_id="content_images",
|
| 144 |
tool="editor", # Optional, for editing images
|
| 145 |
-
|
| 146 |
)
|
| 147 |
with gr.Row():
|
| 148 |
# Sliders for configurable parameters
|
|
|
|
| 135 |
with gr.Column(scale=1):
|
| 136 |
with gr.Row():
|
| 137 |
# Input images component for the user to upload multiple images
|
| 138 |
+
input_images = gr.Gallery(
|
| 139 |
label="Input Images",
|
| 140 |
image_mode="RGBA", # Accept RGBA images
|
| 141 |
sources="upload", # Allow users to upload images
|
| 142 |
type="pil", # The images are returned as PIL images
|
| 143 |
elem_id="content_images",
|
| 144 |
tool="editor", # Optional, for editing images
|
| 145 |
+
# Allow multiple image uploads
|
| 146 |
)
|
| 147 |
with gr.Row():
|
| 148 |
# Sliders for configurable parameters
|