itsyogesh commited on
Commit
f525870
·
1 Parent(s): c025863

Update examples and gradio metadata

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -137,15 +137,14 @@ def inference(image):
137
  return [im_rgba, pil_mask]
138
 
139
 
140
- title = "Highly Accurate Dichotomous Image Segmentation"
141
- description = "This is an unofficial demo for DIS, a model that can remove the background from a given image. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below.<br>GitHub: https://github.com/xuebinqin/DIS<br>Telegram bot: https://t.me/restoration_photo_bot<br>[![](https://img.shields.io/twitter/follow/DoEvent?label=@DoEvent&style=social)](https://twitter.com/DoEvent)"
142
- article = "<div><center><img src='https://visitor-badge.glitch.me/badge?page_id=max_skobeev_dis_cmp_public' alt='visitor badge'></center></div>"
143
 
144
  interface = gr.Interface(
145
  fn=inference,
146
  inputs=gr.Image(type='filepath'),
147
  outputs=["image", "image"],
148
- examples=[['robot.png'], ['ship.png']],
149
  title=title,
150
  description=description,
151
  article=article,
 
137
  return [im_rgba, pil_mask]
138
 
139
 
140
+ title = "Mysign.id - Signature Background removal based on DIS"
141
+ description = "ML Model based on ECCV2022/dis-background-removal specifically made for removing background from signatures."
 
142
 
143
  interface = gr.Interface(
144
  fn=inference,
145
  inputs=gr.Image(type='filepath'),
146
  outputs=["image", "image"],
147
+ examples=[['example-1.jpg'], ['example-2.jpg']],
148
  title=title,
149
  description=description,
150
  article=article,