Update examples and gradio metadata
Browse files
app.py
CHANGED
|
@@ -137,15 +137,14 @@ def inference(image):
|
|
| 137 |
return [im_rgba, pil_mask]
|
| 138 |
|
| 139 |
|
| 140 |
-
title = "
|
| 141 |
-
description = "
|
| 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=[['
|
| 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,
|