changes to base class for controlnet nodes

This commit is contained in:
user1 2023-05-04 17:06:49 -07:00 committed by Kent Keirsey
parent e44f1d6d4e
commit 3aa182390a

View File

@ -136,6 +136,7 @@ class CannyImageProcessorInvocation(ImageProcessorInvocation, PILInvocationConfi
# Input # Input
low_threshold: float = Field(default=100, ge=0, description="low threshold of Canny pixel gradient") low_threshold: float = Field(default=100, ge=0, description="low threshold of Canny pixel gradient")
high_threshold: float = Field(default=200, ge=0, description="high threshold of Canny pixel gradient") high_threshold: float = Field(default=200, ge=0, description="high threshold of Canny pixel gradient")
# fmt: on # fmt: on
def run_processor(self, image): def run_processor(self, image):