From a908e12d23c820b916900f9d9ce2d5ecd507f3a2 Mon Sep 17 00:00:00 2001 From: Jake D <122334950+jwd-dev@users.noreply.github.com> Date: Sat, 15 Apr 2023 18:18:19 -0400 Subject: [PATCH] Update nodes.py with new Note node --- nodes.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nodes.py b/nodes.py index 6468ac6b..d49c830e 100644 --- a/nodes.py +++ b/nodes.py @@ -510,6 +510,14 @@ class EmptyLatentImage: return ({"samples":latent}, ) +class Note: + @classmethod + def INPUT_TYPES(s): + return {"required": {"text": ("STRING", {"multiline": True})}} + + CATEGORY = "other" + RETURN_TYPES = () + class LatentUpscale: upscale_methods = ["nearest-exact", "bilinear", "area"] @@ -1072,6 +1080,7 @@ NODE_CLASS_MAPPINGS = { "VAEEncodeForInpaint": VAEEncodeForInpaint, "VAELoader": VAELoader, "EmptyLatentImage": EmptyLatentImage, + "Note": Note, "LatentUpscale": LatentUpscale, "SaveImage": SaveImage, "PreviewImage": PreviewImage, @@ -1138,6 +1147,7 @@ NODE_DISPLAY_NAME_MAPPINGS = { "LatentFlip": "Flip Latent", "LatentCrop": "Crop Latent", "EmptyLatentImage": "Empty Latent Image", + "Note": "Note", "LatentUpscale": "Upscale Latent", "LatentComposite": "Latent Composite", # Image