mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-30 16:20:17 +08:00
update comment
This commit is contained in:
parent
82f710582c
commit
6dafab7268
@ -247,7 +247,7 @@ def validate_inputs(prompt, item):
|
|||||||
|
|
||||||
if isinstance(type_input, list):
|
if isinstance(type_input, list):
|
||||||
if val not in type_input:
|
if val not in type_input:
|
||||||
# bypass validation on special output
|
# bypass validation on special input
|
||||||
if not val.endswith(" [OUT]") and not val.endswith(" [TEMP]"):
|
if not val.endswith(" [OUT]") and not val.endswith(" [TEMP]"):
|
||||||
return (False, "Value not in list. {}, {}: {} not in {}".format(class_type, x, val, type_input))
|
return (False, "Value not in list. {}, {}: {} not in {}".format(class_type, x, val, type_input))
|
||||||
return (True, "")
|
return (True, "")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user