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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="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")
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()