Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

Fix Only Mask parameter

Carlo Grisetti0405f9a3c793
diff --git a/rembg/cli.py b/rembg/cli.py
index e9e151c..f8474af 100644
--- a/rembg/cli.py
+++ b/rembg/cli.py
@@ -231,7 +231,7 @@ def s(port: int, log_level: str):
af: int = Query(default=240, ge=0, description="Alpha Matting (Foreground Threshold)"),
ab: int = Query(default=10, ge=0, description="Alpha Matting (Background Threshold)"),
ae: int = Query(default=10, ge=0, description="Alpha Matting (Erode Structure Size)"),
- om: bool = Query(default=False, description="Enable Output Mask"),
+ om: bool = Query(default=False, description="Only Mask"),
):
self.model = model
self.a = a