Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def inference(file, mask, model, alpha_influence, segmentation_strength, smoothi
|
|
31 |
return Image.open(BytesIO(output))
|
32 |
|
33 |
title = "Background Using RemBG"
|
34 |
-
description = "<a href='https://www.buymeacoffee.com/diego2554' target='_blank'>Help me improve my computer equipment, I need RTX 4070 :)</a>Gradio demo for RemBG. erase the background of any image, To use it, simply upload your image and adjust the sliders and choose a eraser plugin from the U2net library."
|
35 |
article = "<p style='text-align: center;'><a href='https://github.com/danielgatis/rembg' target='_blank'>Github Repo</a></p>"
|
36 |
article = "<p style='text-align: center;'><a href='https://huggingface.co/spaces/KenjieDec/RemBG' target='_blank'>Model on Hugging Face</a></p>"
|
37 |
|
@@ -67,7 +67,7 @@ gr.Interface(
|
|
67 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.5, label="Smoothing"),
|
68 |
],
|
69 |
gr.outputs.Image(type="PIL", label="Output"),
|
70 |
-
description = "<a href='https://huggingface.co/spaces/KenjieDec/RemBG' target='_blank'>Original article made by KenjieDec</a><a href='https://github.com/danielgatis/rembg' target='_blank'>Github Repo</a></p>"
|
71 |
title=title,
|
72 |
description=description,
|
73 |
article=article,
|
|
|
31 |
return Image.open(BytesIO(output))
|
32 |
|
33 |
title = "Background Using RemBG"
|
34 |
+
description = "<a href='https://www.buymeacoffee.com/diego2554' target='_blank'>Help me improve my computer equipment, I need RTX 4070 :)</a>Gradio demo for RemBG. erase the background of any image, To use it, simply upload your image and adjust the sliders and choose a eraser plugin from the U2net library. / <a href='https://huggingface.co/spaces/KenjieDec/RemBG' target='_blank'>Original article made by KenjieDec</a> / <a href='https://github.com/danielgatis/rembg' target='_blank'>Github Repo</a></p>"
|
35 |
article = "<p style='text-align: center;'><a href='https://github.com/danielgatis/rembg' target='_blank'>Github Repo</a></p>"
|
36 |
article = "<p style='text-align: center;'><a href='https://huggingface.co/spaces/KenjieDec/RemBG' target='_blank'>Model on Hugging Face</a></p>"
|
37 |
|
|
|
67 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.5, label="Smoothing"),
|
68 |
],
|
69 |
gr.outputs.Image(type="PIL", label="Output"),
|
70 |
+
#description = "<a href='https://huggingface.co/spaces/KenjieDec/RemBG' target='_blank'>Original article made by KenjieDec</a><a href='https://github.com/danielgatis/rembg' target='_blank'>Github Repo</a></p>"
|
71 |
title=title,
|
72 |
description=description,
|
73 |
article=article,
|