puts nodes in sub menus
unfortunately breaks previous, but I should have done this from start
This commit is contained in:
@@ -21,7 +21,7 @@ class Solarize:
|
||||
RETURN_TYPES = ("IMAGE",)
|
||||
FUNCTION = "solarize_image"
|
||||
|
||||
CATEGORY = "postprocessing"
|
||||
CATEGORY = "postprocessing/Color Adjustments"
|
||||
|
||||
def solarize_image(self, image: torch.Tensor, threshold: float):
|
||||
solarized_image = torch.where(image > threshold, 1 - image, image)
|
||||
|
||||
Reference in New Issue
Block a user