Unverified Commit a908e12d authored by Jake D's avatar Jake D Committed by GitHub
Browse files

Update nodes.py with new Note node

parent a4049989
...@@ -510,6 +510,14 @@ class EmptyLatentImage: ...@@ -510,6 +510,14 @@ class EmptyLatentImage:
return ({"samples":latent}, ) return ({"samples":latent}, )
class Note:
@classmethod
def INPUT_TYPES(s):
return {"required": {"text": ("STRING", {"multiline": True})}}
CATEGORY = "other"
RETURN_TYPES = ()
class LatentUpscale: class LatentUpscale:
upscale_methods = ["nearest-exact", "bilinear", "area"] upscale_methods = ["nearest-exact", "bilinear", "area"]
...@@ -1072,6 +1080,7 @@ NODE_CLASS_MAPPINGS = { ...@@ -1072,6 +1080,7 @@ NODE_CLASS_MAPPINGS = {
"VAEEncodeForInpaint": VAEEncodeForInpaint, "VAEEncodeForInpaint": VAEEncodeForInpaint,
"VAELoader": VAELoader, "VAELoader": VAELoader,
"EmptyLatentImage": EmptyLatentImage, "EmptyLatentImage": EmptyLatentImage,
"Note": Note,
"LatentUpscale": LatentUpscale, "LatentUpscale": LatentUpscale,
"SaveImage": SaveImage, "SaveImage": SaveImage,
"PreviewImage": PreviewImage, "PreviewImage": PreviewImage,
...@@ -1138,6 +1147,7 @@ NODE_DISPLAY_NAME_MAPPINGS = { ...@@ -1138,6 +1147,7 @@ NODE_DISPLAY_NAME_MAPPINGS = {
"LatentFlip": "Flip Latent", "LatentFlip": "Flip Latent",
"LatentCrop": "Crop Latent", "LatentCrop": "Crop Latent",
"EmptyLatentImage": "Empty Latent Image", "EmptyLatentImage": "Empty Latent Image",
"Note": "Note",
"LatentUpscale": "Upscale Latent", "LatentUpscale": "Upscale Latent",
"LatentComposite": "Latent Composite", "LatentComposite": "Latent Composite",
# Image # Image
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment