Update show_text.py

This commit is contained in:
pythongosssss
2023-05-25 20:25:07 +01:00
committed by GitHub
parent 32bc07da8e
commit f2ec2308e8
+5 -3
View File
@@ -5,16 +5,18 @@ class ShowText:
"text": ("STRING", {"forceInput": True}),
}}
INPUT_IS_LIST = True
RETURN_TYPES = ("STRING",)
FUNCTION = "notify"
OUTPUT_NODE = True
OUTPUT_IS_LIST = (True,)
CATEGORY = "utils"
def notify(self, text):
return {"ui": { "text": text }, "result": (text,)}
def notify(self, text):
return {"ui": {"text": text}, "result": (text,)}
NODE_CLASS_MAPPINGS = {
"ShowText": ShowText,
}
}