diego2554 commited on
Commit
ac87c65
1 Parent(s): 15215aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -62,16 +62,16 @@ gr.Interface(
62
  default="isnet-general-use",
63
  label="Models"
64
  ),
65
- gr.inputs.Slider(minimum=0.90, maximum=1.20, default=1, 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.25, 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", 1, 0.5, 0.25], ["girl.jpg", "Default", "u2net", 1, 0.5, 0.25], ["anime-girl.jpg", "Default", "isnet-anime", 1, 0.5, 0.25]],
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