Fix node bugs

This commit is contained in:
Hacker 17082006 2023-02-17 22:08:29 +07:00
parent c66e38ab84
commit 2973cd6835
2 changed files with 9 additions and 3 deletions

View File

@ -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"

View File

@ -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