mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-05 11:07:05 +08:00
Update execution.py
patch to parse widget values not just input values
This commit is contained in:
parent
bab836d88d
commit
240a7f89c7
@ -112,6 +112,10 @@ def get_input_data(inputs, class_def, unique_id, outputs=None, dynprompt=None, e
|
|||||||
for x in inputs:
|
for x in inputs:
|
||||||
input_data = inputs[x]
|
input_data = inputs[x]
|
||||||
_, input_category, input_info = get_input_info(class_def, x, valid_inputs)
|
_, input_category, input_info = get_input_info(class_def, x, valid_inputs)
|
||||||
|
# patch to parse widget values not just input values
|
||||||
|
if isinstance(input_data, dict) and "__value__" in input_data:
|
||||||
|
input_data = input_data["__value__"]
|
||||||
|
|
||||||
def mark_missing():
|
def mark_missing():
|
||||||
missing_keys[x] = True
|
missing_keys[x] = True
|
||||||
input_data_all[x] = (None,)
|
input_data_all[x] = (None,)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user