소스 검색

Fix description

Carlo Grisetti 3 년 전
부모
커밋
1e66d8b24b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rembg/cli.py

+ 1 - 1
rembg/cli.py

@@ -226,7 +226,7 @@ def s(port: int, log_level: str):
     class CommonQueryParams:
         def __init__(
             self,
-            model: ModelType = Query(default=ModelType.u2net, description="Model to use (u2net, u2netp, u2net_human_seg)"),
+            model: ModelType = Query(default=ModelType.u2net, description="Model to use when processing image"),
             a: bool = Query(default=False, description="Enable Alpha Matting"),
             af: int = Query(default=240, ge=0, description="Alpha Matting (Foreground Threshold)"),
             ab: int = Query(default=10, ge=0, description="Alpha Matting (Background Threshold)"),