Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -62,16 +62,16 @@ gr.Interface(
|
|
62 |
default="isnet-general-use",
|
63 |
label="Models"
|
64 |
),
|
65 |
-
gr.inputs.Slider(minimum=0.
|
66 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.5, label="Segmentation Strength"),
|
67 |
-
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.
|
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,
|
74 |
-
examples=[["lion.png", "Default", "u2net",
|
75 |
enable_queue=True
|
76 |
).launch()
|
77 |
|
|
|
62 |
default="isnet-general-use",
|
63 |
label="Models"
|
64 |
),
|
65 |
+
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.5, label="Alpha Influence"),
|
66 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.5, label="Segmentation Strength"),
|
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,
|
74 |
+
examples=[["lion.png", "Default", "u2net", 0.5, 0.5, 0.5], ["girl.jpg", "Default", "u2net", 0.5, 0.5, 0.5], ["anime-girl.jpg", "Default", "isnet-anime", 0.5, 0.5, 0.5]],
|
75 |
enable_queue=True
|
76 |
).launch()
|
77 |
|