updated catagory
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user