add image quality arg
https://github.com/Sanster/lama-cleaner/issues/229
This commit is contained in:
@@ -37,9 +37,7 @@ def parse_args():
|
||||
parser.add_argument(
|
||||
"--sd-cpu-textencoder", action="store_true", help=SD_CPU_TEXTENCODER_HELP
|
||||
)
|
||||
parser.add_argument(
|
||||
"--sd-controlnet", action="store_true", help=SD_CONTROLNET_HELP
|
||||
)
|
||||
parser.add_argument("--sd-controlnet", action="store_true", help=SD_CONTROLNET_HELP)
|
||||
parser.add_argument(
|
||||
"--local-files-only", action="store_true", help=LOCAL_FILES_ONLY_HELP
|
||||
)
|
||||
@@ -70,6 +68,9 @@ def parse_args():
|
||||
action="store_true",
|
||||
help="Disable model switch in frontend",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--quality", default=95, type=int, help=QUALITY_HELP,
|
||||
)
|
||||
|
||||
# useless args
|
||||
parser.add_argument("--debug", action="store_true", help=argparse.SUPPRESS)
|
||||
|
||||
Reference in New Issue
Block a user