alibidaran commited on
Commit
eafda10
·
verified ·
1 Parent(s): fc90e59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -246,10 +246,7 @@ def segment_image(filepath,tag):
246
  return Image.fromarray(masked_image),surg
247
 
248
 
249
- demo=gr.Interface(fn=segment_image,inputs=[gr.Image(type='filepath'),
250
- gr.HTML("""
251
- <a href="https://www.buymeacoffee.com/alibidaran96"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=☕&slug=alibidaran96&button_colour=4c2424&font_colour=ffffff&font_family=Poppins&outline_colour=ffffff&coffee_colour=FFDD00" /></a>
252
- """)],
253
  outputs=[gr.Image(type="pil"),gr.Text()],
254
  examples=["R001_ch1_video_03_00-29-13-03.jpg",
255
  "R002_ch1_video_01_01-07-25-19.jpg",
 
246
  return Image.fromarray(masked_image),surg
247
 
248
 
249
+ demo=gr.Interface(fn=segment_image,inputs=[gr.Image(type='filepath')],
 
 
 
250
  outputs=[gr.Image(type="pil"),gr.Text()],
251
  examples=["R001_ch1_video_03_00-29-13-03.jpg",
252
  "R002_ch1_video_01_01-07-25-19.jpg",