mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-07 10:17:31 +08:00
code improve
This commit is contained in:
parent
538d127edb
commit
c39c3682e2
@ -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