mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-23 00:09:32 +08:00
Improve dynamic prompt example.
This commit is contained in:
parent
9aa915045a
commit
be039885a0
2
nodes.py
2
nodes.py
@ -1469,7 +1469,7 @@ class DynamicPrompt:
|
|||||||
def INPUT_TYPES(cls):
|
def INPUT_TYPES(cls):
|
||||||
return {
|
return {
|
||||||
"required": {
|
"required": {
|
||||||
"text": ("STRING", {"multiline": True, "placeholder": "A prompt which can contain random text. Eg. This is a {good|great|spectacular} prompt."}),
|
"text": ("STRING", {"multiline": True, "placeholder": "A prompt which can contain random text. Eg. A {small|big} {red|yellow|black} {sports car|convertible|van}."}),
|
||||||
"seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff}),
|
"seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user