From 9a830626e670a4e836da8312987f8a42fd3160e0 Mon Sep 17 00:00:00 2001 From: Daniel Gatis Date: Mon, 24 Apr 2023 19:15:19 -0300 Subject: [PATCH] fix #434 --- rembg/commands/s_command.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rembg/commands/s_command.py b/rembg/commands/s_command.py index 38c8a375..04d4b375 100644 --- a/rembg/commands/s_command.py +++ b/rembg/commands/s_command.py @@ -86,7 +86,6 @@ def __init__( 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 __init__( 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"),