add --latent-preview-api to args

This commit is contained in:
RandomGitUser321 2024-09-20 02:22:46 -04:00 committed by GitHub
parent 98cffee8b3
commit b5a2b438e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()