Daniel Gatis 2 years ago
parent
commit
9a830626e6
1 changed files with 0 additions and 2 deletions
  1. 0 2
      rembg/commands/s_command.py

+ 0 - 2
rembg/commands/s_command.py

@@ -86,7 +86,6 @@ def s_command(port: int, log_level: str, threads: int) -> None:
             model: Annotated[
             model: Annotated[
                 str, Query(regex=r"(" + "|".join(sessions_names) + ")")
                 str, Query(regex=r"(" + "|".join(sessions_names) + ")")
             ] = Query(
             ] = Query(
-                default="u2net",
                 description="Model to use when processing image",
                 description="Model to use when processing image",
             ),
             ),
             a: bool = Query(default=False, description="Enable Alpha Matting"),
             a: bool = Query(default=False, description="Enable Alpha Matting"),
@@ -132,7 +131,6 @@ def s_command(port: int, log_level: str, threads: int) -> None:
             model: Annotated[
             model: Annotated[
                 str, Form(regex=r"(" + "|".join(sessions_names) + ")")
                 str, Form(regex=r"(" + "|".join(sessions_names) + ")")
             ] = Form(
             ] = Form(
-                default="u2net",
                 description="Model to use when processing image",
                 description="Model to use when processing image",
             ),
             ),
             a: bool = Form(default=False, description="Enable Alpha Matting"),
             a: bool = Form(default=False, description="Enable Alpha Matting"),