Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Update nodes.py with new Note node

Jake Da908e12d23c8
diff --git a/nodes.py b/nodes.py
index 6468ac6b8..d49c830ef 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