Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,11 +88,11 @@ with gr.Blocks() as interface:
|
|
| 88 |
gr.Markdown("<h1 style='color: #2196F3; text-align: center;'>Image Stitcher 🧵</h1>")
|
| 89 |
gr.Markdown("<h3 style='color: #2196F3; text-align: center;'>Upload the images you want to stitch</h3>")
|
| 90 |
|
| 91 |
-
image_upload = gr.Files(type="
|
| 92 |
stitch_button = gr.Button("Stitch", variant="primary")
|
| 93 |
stitched_image = gr.Image(type="pil", label="Stitched Image")
|
| 94 |
download_button = gr.File(label="Download Stitched Image")
|
| 95 |
|
| 96 |
stitch_button.click(stitch_images, inputs=image_upload, outputs=[stitched_image, download_button])
|
| 97 |
|
| 98 |
-
interface.launch()
|
|
|
|
| 88 |
gr.Markdown("<h1 style='color: #2196F3; text-align: center;'>Image Stitcher 🧵</h1>")
|
| 89 |
gr.Markdown("<h3 style='color: #2196F3; text-align: center;'>Upload the images you want to stitch</h3>")
|
| 90 |
|
| 91 |
+
image_upload = gr.Files(type="filepath", label="Upload Images")
|
| 92 |
stitch_button = gr.Button("Stitch", variant="primary")
|
| 93 |
stitched_image = gr.Image(type="pil", label="Stitched Image")
|
| 94 |
download_button = gr.File(label="Download Stitched Image")
|
| 95 |
|
| 96 |
stitch_button.click(stitch_images, inputs=image_upload, outputs=[stitched_image, download_button])
|
| 97 |
|
| 98 |
+
interface.launch()
|