mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-07 18:27:40 +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:
|
||||
val = val["__value__"]
|
||||
inputs[x] = val
|
||||
elif "__type__" in val and "__value__" in val:
|
||||
val = val["__value__"]
|
||||
inputs[x] = val
|
||||
|
||||
if input_type == "INT":
|
||||
val = int(val)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user