mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-08 10:47:32 +08:00
code improve
This commit is contained in:
parent
7f5abae149
commit
f749098db8
@ -884,9 +884,6 @@ async def validate_inputs(prompt_id, prompt, item, validated):
|
|||||||
if "__value__" in val:
|
if "__value__" in val:
|
||||||
val = val["__value__"]
|
val = val["__value__"]
|
||||||
inputs[x] = val
|
inputs[x] = val
|
||||||
elif "__type__" in val and "__value__" in val:
|
|
||||||
val = val["__value__"]
|
|
||||||
inputs[x] = val
|
|
||||||
|
|
||||||
if input_type == "INT":
|
if input_type == "INT":
|
||||||
val = int(val)
|
val = int(val)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user