mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-10 03:37:33 +08:00
make minimal changes for upstream
This commit is contained in:
parent
a5b8a856ef
commit
d726ee6f8e
7
nodes.py
7
nodes.py
@ -809,7 +809,9 @@ class LoadImage:
|
||||
def INPUT_TYPES(s):
|
||||
if not os.path.exists(s.input_dir):
|
||||
os.makedirs(s.input_dir)
|
||||
return {"required": {"image": (sorted(os.listdir(s.input_dir)), ) }}
|
||||
return {"required":
|
||||
{"image": (sorted(os.listdir(s.input_dir)), )},
|
||||
}
|
||||
|
||||
WIDGET_TYPES = {"recv img": (["disable", "enable"], )}
|
||||
|
||||
@ -844,7 +846,8 @@ class LoadImageMask:
|
||||
def INPUT_TYPES(s):
|
||||
return {"required":
|
||||
{"image": (sorted(os.listdir(s.input_dir)), ),
|
||||
"channel": (["alpha", "red", "green", "blue"], ),}}
|
||||
"channel": (["alpha", "red", "green", "blue"], ),}
|
||||
}
|
||||
|
||||
WIDGET_TYPES = { "recv img": (["disable", "enable"], ) }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user