Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,20 +66,7 @@ gr.HTML(
|
|
| 66 |
</p>
|
| 67 |
"""
|
| 68 |
)
|
| 69 |
-
title = "
|
| 70 |
-
description = r"""
|
| 71 |
-
This model is a <strong>fully open-source background remover</strong> optimized for images with humans.
|
| 72 |
-
|
| 73 |
-
This is the first iteration of the model, so there will be improvements!
|
| 74 |
-
If you identify cases were the model fails, <a href='https://huggingface.co/schirrmacher/ormbg/discussions' target='_blank'>upload your examples</a>!
|
| 75 |
-
|
| 76 |
-
- <a href='https://huggingface.co/schirrmacher/ormbg' target='_blank'>Model card: inference code, training information, tutorials</a>
|
| 77 |
-
- <a href='https://huggingface.co/schirrmacher/ormbg' target='_blank'>Dataset: all images, segmentation data, backgrounds</a>
|
| 78 |
-
|
| 79 |
-
Known issues (work in progress):
|
| 80 |
-
- close-ups: from above, from below, profile, from side
|
| 81 |
-
- minor issues with hair segmentation when hair creates loops
|
| 82 |
-
- more various backgrounds needed
|
| 83 |
|
| 84 |
"""
|
| 85 |
examples = ["./example1.png", "./example2.png", "./example3.png"]
|
|
@@ -90,7 +77,7 @@ demo = gr.Interface(
|
|
| 90 |
outputs="image",
|
| 91 |
examples=examples,
|
| 92 |
title=title,
|
| 93 |
-
|
| 94 |
)
|
| 95 |
|
| 96 |
if __name__ == "__main__":
|
|
|
|
| 66 |
</p>
|
| 67 |
"""
|
| 68 |
)
|
| 69 |
+
title = "Remove Background"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
"""
|
| 72 |
examples = ["./example1.png", "./example2.png", "./example3.png"]
|
|
|
|
| 77 |
outputs="image",
|
| 78 |
examples=examples,
|
| 79 |
title=title,
|
| 80 |
+
theme="Nymbo/Alyx_Theme"
|
| 81 |
)
|
| 82 |
|
| 83 |
if __name__ == "__main__":
|