瀏覽代碼

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)"),