From 3fd8eab15070ea4e81d5351695587ee44c880320 Mon Sep 17 00:00:00 2001 From: wailovet Date: Tue, 30 Apr 2024 23:05:23 +0800 Subject: [PATCH] 'update' --- __init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index e114c57..5c37528 100644 --- a/__init__.py +++ b/__init__.py @@ -93,8 +93,8 @@ class MZ_CustomizeInstruct: FUNCTION = "create" CATEGORY = CATEGORY_NAME - def create(self, system, instruct, prefix, suffix): - return ({"system": system, "instruct": instruct},) + def create(self, **kwargs): + return (kwargs,) NODE_CLASS_MAPPINGS["MZ_CustomizeInstruct"] = MZ_CustomizeInstruct NODE_DISPLAY_NAME_MAPPINGS["MZ_CustomizeInstruct"] = f"{AUTHOR_NAME} - CustomizeInstruct"