Skip to content

Commit d89c29f

Browse files
Add display names to Hunyuan latent video nodes. (#10837)
1 parent a9c3525 commit d89c29f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comfy_extras/nodes_hunyuan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class EmptyHunyuanLatentVideo(io.ComfyNode):
3838
def define_schema(cls):
3939
return io.Schema(
4040
node_id="EmptyHunyuanLatentVideo",
41+
display_name="Empty HunyuanVideo 1.0 Latent",
4142
category="latent/video",
4243
inputs=[
4344
io.Int.Input("width", default=848, min=16, max=nodes.MAX_RESOLUTION, step=16),
@@ -63,6 +64,7 @@ class EmptyHunyuanVideo15Latent(EmptyHunyuanLatentVideo):
6364
def define_schema(cls):
6465
schema = super().define_schema()
6566
schema.node_id = "EmptyHunyuanVideo15Latent"
67+
schema.display_name = "Empty HunyuanVideo 1.5 Latent"
6668
return schema
6769

6870
@classmethod
@@ -71,8 +73,6 @@ def execute(cls, width, height, length, batch_size=1) -> io.NodeOutput:
7173
latent = torch.zeros([batch_size, 32, ((length - 1) // 4) + 1, height // 16, width // 16], device=comfy.model_management.intermediate_device())
7274
return io.NodeOutput({"samples": latent})
7375

74-
generate = execute # TODO: remove
75-
7676

7777
class HunyuanVideo15ImageToVideo(io.ComfyNode):
7878
@classmethod

0 commit comments

Comments
 (0)