Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgatis committed Jan 31, 2024
1 parent cf962f5 commit 77b177b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rembg/commands/s_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,15 @@ def inference(input_path, model, cmd_args):
gr.components.Image(type="filepath", label="Input"),
gr.components.Dropdown(sessions_names, value="u2net", label="Models"),
gr.components.Checkbox(value=True, label="Alpha matting"),
gr.components.Slider(value=240, minimum=0, maximum=255, label="Foreground threshold"),
gr.components.Slider(value=10, minimum=0, maximum=255, label="Background threshold"),
gr.components.Slider(value=40, minimum=0, maximum=255, label="Erosion size"),
gr.components.Slider(
value=240, minimum=0, maximum=255, label="Foreground threshold"
),
gr.components.Slider(
value=10, minimum=0, maximum=255, label="Background threshold"
),
gr.components.Slider(
value=40, minimum=0, maximum=255, label="Erosion size"
),
gr.components.Checkbox(value=False, label="Only mask"),
gr.components.Checkbox(value=True, label="Post process mask"),
gr.components.Textbox(label="Arguments"),
Expand Down

0 comments on commit 77b177b

Please sign in to comment.