mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-09 11:20:03 +08:00
add --latent-preview-api to args
This commit is contained in:
parent
98cffee8b3
commit
b5a2b438e2
@ -91,7 +91,7 @@ class LatentPreviewMethod(enum.Enum):
|
||||
TAESD = "taesd"
|
||||
|
||||
parser.add_argument("--preview-method", type=LatentPreviewMethod, default=LatentPreviewMethod.NoPreviews, help="Default preview method for sampler nodes.", action=EnumAction)
|
||||
|
||||
parser.add_argument("--latent-preview-api", action="store_true", help="Converts latent previews to base64 to be sent through the websocket json payload under message['type'] == 'latent_preview'")
|
||||
parser.add_argument("--preview-size", type=int, default=512, help="Sets the maximum preview size for sampler nodes.")
|
||||
|
||||
cache_group = parser.add_mutually_exclusive_group()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user