mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-13 00:37:00 +08:00
Update cli_args.py
added cli args --type-confromance with 3 options `all` - attempts to convert all values to the input/output types specified by the node `images` - only converts images to bwh3 format `error` - raises an error if the type does not match what is specified. `none` - prints error messages to console and does nothing else.
This commit is contained in:
parent
40a86b3dc8
commit
5c5a3333f6
@ -128,6 +128,9 @@ parser.add_argument("--multi-user", action="store_true", help="Enables per-user
|
||||
|
||||
parser.add_argument("--verbose", action="store_true", help="Enables more debug prints.")
|
||||
|
||||
parser.add_argument("--type-conformance", type=str, choices=['all', 'images', 'error', 'none'], default='none', help="Level of type conformance for input/output values between nodes. 'all/images' will attempt to convert all or only image values to the expected type, 'error' will raise an error if the types do not match.")
|
||||
|
||||
|
||||
# The default built-in provider hosted under web/
|
||||
DEFAULT_VERSION_STRING = "comfyanonymous/ComfyUI@latest"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user