Browse Source

Update nodes.py with new Note node

pull/518/head
Jake D 2 years ago committed by GitHub
parent
commit
a908e12d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      nodes.py

10
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

Loading…
Cancel
Save