Update nodes.py

Set the WIDTH and HEIGHT labels to lowercase.
This commit is contained in:
Budi Hartono
2025-08-26 13:14:31 +07:00
parent c1b7156faa
commit 94aed468e5
+2 -2
View File
@@ -29,7 +29,7 @@ class EmptyLatentAspectPreset:
} }
RETURN_TYPES = ("LATENT", "INT", "INT") RETURN_TYPES = ("LATENT", "INT", "INT")
RETURN_NAMES = ("LATENT", "WIDTH", "HEIGHT") RETURN_NAMES = ("LATENT", "width", "height")
FUNCTION = "generate" FUNCTION = "generate"
CATEGORY = "latent" # moved into ComfyUI's built-in "latent" category CATEGORY = "latent" # moved into ComfyUI's built-in "latent" category
@@ -76,7 +76,7 @@ class EmptyLatentAspectByAxis:
} }
RETURN_TYPES = ("LATENT", "INT", "INT") RETURN_TYPES = ("LATENT", "INT", "INT")
RETURN_NAMES = ("LATENT", "WIDTH", "HEIGHT") RETURN_NAMES = ("LATENT", "width", "height")
FUNCTION = "generate" FUNCTION = "generate"
CATEGORY = "latent" # now appears under the built-in latent category CATEGORY = "latent" # now appears under the built-in latent category