From 75f1c4cd3cfc9b33d88f11ea69c2944c4bf41ff7 Mon Sep 17 00:00:00 2001 From: Meeeyo Date: Tue, 29 Apr 2025 12:15:58 +0800 Subject: [PATCH] Update meyo_node_Functional.py --- meyo_node_Functional.py | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/meyo_node_Functional.py b/meyo_node_Functional.py index 4d70e90..e66724c 100644 --- a/meyo_node_Functional.py +++ b/meyo_node_Functional.py @@ -59,42 +59,6 @@ class SimpleRandomSeed: return (f"Error: {str(e)}",) - - -#======整数参数 -class SplitIntegers: - @classmethod - def INPUT_TYPES(cls): - return { - "required": { - "numbers": ("STRING", {"default": "2|3|4|5"}), # Input for the numbers separated by '|' - }, - } - - RETURN_TYPES = ("INT", "INT", "INT", "INT") - FUNCTION = "split_numbers" - CATEGORY = "Meeeyo/Functional" - DESCRIPTION = "如需更多帮助或商务需求(For tech and business support)+VX/WeChat: meeeyo" - def IS_CHANGED(): - return float("NaN") - - def split_numbers(self, numbers): - try: - parts = numbers.split('|') - result = [] - for i in range(4): - if i < len(parts) and parts[i].strip(): - try: - result.append(int(parts[i].strip())) - except ValueError: - result.append(None) - else: - result.append(None) - return tuple(result) - except Exception as e: - return (f"Error: {str(e)}", None, None, None) - - #======选择参数diy class SelectionParameter: @classmethod