withoutbg-python
withoutbg-python copied to clipboard
CLI tool ignoring 'model' parameter
If I set the 'WITHOUTBG_API_KEY' environment variable, the withoutbg cli tool will try to use the 'withoutBG Pro' model, even if I specify the 'opensource' (local) model!
WITHOUTBG_API_KEY='XXX' withoutbg sample.jpg -o sample.png --model opensource -v
Using withoutBG Pro for processing...
Processing: sample.jpg
Output: sample.png
Removing background [##################------------------] 50%
Error: Background removal failed: Invalid API key
App version: 1.0.2 (PyPI)
Thanks.