mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-19 16:39:09 +08:00
FIX issue 462, nargs error (#547)
This commit is contained in:
parent
1adb4f1702
commit
e44661aca4
@ -74,7 +74,7 @@ from ..sessions import sessions_names
|
||||
@click.option(
|
||||
"-bgc",
|
||||
"--bgcolor",
|
||||
default=None,
|
||||
default=(0, 0, 0, 0),
|
||||
type=(int, int, int, int),
|
||||
nargs=4,
|
||||
help="Background color (R G B A) to replace the removed background with",
|
||||
|
@ -70,7 +70,7 @@ from ..sessions import sessions_names
|
||||
@click.option(
|
||||
"-bgc",
|
||||
"--bgcolor",
|
||||
default=None,
|
||||
default=(0, 0, 0, 0),
|
||||
type=(int, int, int, int),
|
||||
nargs=4,
|
||||
help="Background color (R G B A) to replace the removed background with",
|
||||
|
@ -83,7 +83,7 @@ from ..sessions import sessions_names
|
||||
@click.option(
|
||||
"-bgc",
|
||||
"--bgcolor",
|
||||
default=None,
|
||||
default=(0, 0, 0, 0),
|
||||
type=(int, int, int, int),
|
||||
nargs=4,
|
||||
help="Background color (R G B A) to replace the removed background with",
|
||||
|
Loading…
x
Reference in New Issue
Block a user