mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-06 04:38:41 +08:00
fix #434
This commit is contained in:
parent
92522794cb
commit
9a830626e6
@ -86,7 +86,6 @@ def s_command(port: int, log_level: str, threads: int) -> None:
|
||||
model: Annotated[
|
||||
str, Query(regex=r"(" + "|".join(sessions_names) + ")")
|
||||
] = Query(
|
||||
default="u2net",
|
||||
description="Model to use when processing image",
|
||||
),
|
||||
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[
|
||||
str, Form(regex=r"(" + "|".join(sessions_names) + ")")
|
||||
] = Form(
|
||||
default="u2net",
|
||||
description="Model to use when processing image",
|
||||
),
|
||||
a: bool = Form(default=False, description="Enable Alpha Matting"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user