From 0e1cfaecaeee481372e00c720a274152d62b91b3 Mon Sep 17 00:00:00 2001 From: William Miles Date: Mon, 23 Dec 2024 12:17:43 +1100 Subject: [PATCH] Updated node categories. --- color_grading.py | 2 +- inpainting.py | 2 +- pyproject.toml | 2 +- resampling.py | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/color_grading.py b/color_grading.py index 6306adc..37c8a88 100644 --- a/color_grading.py +++ b/color_grading.py @@ -65,7 +65,7 @@ class ColorGrading: RETURN_TYPES = ("IMAGE", ) RETURN_NAMES = ("image", ) - CATEGORY = "inpaint" + CATEGORY = "image/postprocessing" FUNCTION = "f" @staticmethod diff --git a/inpainting.py b/inpainting.py index b0595b1..38a6b0e 100644 --- a/inpainting.py +++ b/inpainting.py @@ -230,7 +230,7 @@ class BlurMask: }} RETURN_TYPES = ("MASK", "IMAGE") RETURN_NAMES = ("mask", "mask_image") - CATEGORY = "inpaint" + CATEGORY = "mask" FUNCTION = "f" @staticmethod diff --git a/pyproject.toml b/pyproject.toml index 3b34eb8..800aa06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [project] name = "comfyui-sips" description = "Image resampling, color grading, and mask-crop inpainting." -version = "0.0.1" +version = "0.0.2" license = { file = "LICENSE" } dependencies = [] diff --git a/resampling.py b/resampling.py index c9808f8..9a94923 100644 --- a/resampling.py +++ b/resampling.py @@ -21,7 +21,7 @@ class ResampleImage: RETURN_TYPES = ("IMAGE", ) RETURN_NAMES = ("image", ) - CATEGORY = "inpaint/resampling" + CATEGORY = "image" FUNCTION = "f" @staticmethod @@ -45,7 +45,7 @@ class ResampleMask: RETURN_TYPES = ("MASK", ) RETURN_NAMES = ("mask", ) - CATEGORY = "inpaint/resampling" + CATEGORY = "mask" FUNCTION = "f" @staticmethod @@ -67,7 +67,7 @@ class ResampleLatent: RETURN_TYPES = ("LATENT", ) RETURN_NAMES = ("latent", ) - CATEGORY = "inpaint/resampling" + CATEGORY = "latent" FUNCTION = "f" @staticmethod @@ -84,7 +84,7 @@ class ResampleLatent: class ResamplerBase: RETURN_TYPES = ("RESAMPLER", ) RETURN_NAMES = ("resampler", ) - CATEGORY = "inpaint/resampling" + CATEGORY = "resampling" FUNCTION = "f" @@ -195,7 +195,7 @@ class ResamplerJincLanczos(ResamplerBase): class ScalerBase: RETURN_TYPES = ("SCALER", ) RETURN_NAMES = ("scaler", ) - CATEGORY = "inpaint/resampling" + CATEGORY = "resampling/scaler" FUNCTION = "f"