ammariii08 commited on
Commit
35be74a
·
verified ·
1 Parent(s): a31346d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -88,7 +88,7 @@ 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="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")
@@ -96,4 +96,3 @@ with gr.Blocks() as interface:
96
  stitch_button.click(stitch_images, inputs=image_upload, outputs=[stitched_image, download_button])
97
 
98
  interface.launch()
99
-
 
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="file", 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")
 
96
  stitch_button.click(stitch_images, inputs=image_upload, outputs=[stitched_image, download_button])
97
 
98
  interface.launch()