mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-01 12:57:11 +08:00
use literal type for image_folder field
This commit is contained in:
parent
252faf810a
commit
57be03b31f
@ -129,13 +129,8 @@ class InputTypeOptions(TypedDict):
|
|||||||
# class InputTypeCombo(InputTypeOptions):
|
# class InputTypeCombo(InputTypeOptions):
|
||||||
image_upload: bool
|
image_upload: bool
|
||||||
"""Specifies whether the input should have an image upload button and image preview attached to it. Requires that the input's name is `image`."""
|
"""Specifies whether the input should have an image upload button and image preview attached to it. Requires that the input's name is `image`."""
|
||||||
image_folder: str
|
image_folder: Literal["input", "output", "temp"]
|
||||||
"""Specifies which folder to get preview images from if the input has the ``image_upload`` flag.
|
"""Specifies which folder to get preview images from if the input has the ``image_upload`` flag.
|
||||||
|
|
||||||
Valid values are:
|
|
||||||
- "input"
|
|
||||||
- "output"
|
|
||||||
- "temp"
|
|
||||||
"""
|
"""
|
||||||
remote: RemoteInputOptions
|
remote: RemoteInputOptions
|
||||||
"""Specifies the configuration for a remote input."""
|
"""Specifies the configuration for a remote input."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user