updated catagory

This commit is contained in:
rubz
2026-04-08 23:09:39 +02:00
parent cf94f2aa8e
commit cb7da507e4
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ class SmartBatchResize:
RETURN_NAMES = ("images", "filenames", "output_paths", "count")
OUTPUT_IS_LIST = (True, True, True, False)
FUNCTION = "run"
CATEGORY = "Craftopia"
CATEGORY = "CraftKit"
OUTPUT_NODE = True
def run(self, input_folder, longest_side, multiple_of, interpolation,
+1 -1
View File
@@ -29,7 +29,7 @@ class SmartPromptController:
RETURN_TYPES = ("STRING", "INT")
RETURN_NAMES = ("prompt", "list_index")
FUNCTION = "control"
CATEGORY = "Craftopia"
CATEGORY = "CraftKit"
OUTPUT_NODE = True
def _get_lines(self, text):
+1 -1
View File
@@ -55,7 +55,7 @@ class SmartResize:
RETURN_TYPES = ("IMAGE", "INT", "INT")
RETURN_NAMES = ("image", "width", "height")
FUNCTION = "run"
CATEGORY = "Craftopia"
CATEGORY = "CraftKit"
def run(self, image, longest_side, multiple_of, interpolation, upscale_if_smaller):
interp = INTERP_MAP[interpolation]
+1 -1
View File
@@ -31,7 +31,7 @@ class SmartResolutionMultiplier:
RETURN_TYPES = ("INT", "INT", "INT")
RETURN_NAMES = ("width", "height", "resolution")
FUNCTION = "run"
CATEGORY = "Craftopia"
CATEGORY = "CraftKit"
def run(self, image, multiplier, multiple_of):
h, w = image.shape[1], image.shape[2]