mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-08 21:30:50 +08:00
Fix node bugs
This commit is contained in:
parent
c66e38ab84
commit
2973cd6835
4
nodes.py
4
nodes.py
@ -222,7 +222,7 @@ class CannyPreprocessor:
|
||||
return {"required": { "image": ("IMAGE", ) ,
|
||||
"low_threshold": ("INT", {"default": 100, "min": 0, "max": 255, "step": 1}),
|
||||
"high_threshold": ("INT", {"default": 100, "min": 0, "max": 255, "step": 1}),
|
||||
"l2gradient": (["disable", "enable"])
|
||||
"l2gradient": (["disable", "enable"], )
|
||||
}}
|
||||
RETURN_TYPES = ("IMAGE",)
|
||||
FUNCTION = "detect_edge"
|
||||
@ -290,7 +290,7 @@ class OpenPosePreprocessor:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": { "image": ("IMAGE", ),
|
||||
"detect_hand": (["disable", "enable"])
|
||||
"detect_hand": (["disable", "enable"],)
|
||||
}}
|
||||
RETURN_TYPES = ("IMAGE",)
|
||||
FUNCTION = "estimate_pose"
|
||||
|
||||
@ -9,4 +9,10 @@ safetensors
|
||||
pytorch_lightning
|
||||
aiohttp
|
||||
accelerate
|
||||
|
||||
opencv-contrib-python==4.3.0.36
|
||||
numpy=1.23.1
|
||||
timm==0.6.12
|
||||
torchvision=0.13.1
|
||||
scipy
|
||||
matplotlib
|
||||
skimage
|
||||
Loading…
Reference in New Issue
Block a user