Move nodes_lt into expected spot for this fork

This commit is contained in:
doctorpangloss 2024-11-22 15:51:54 -08:00
parent f39b8dfebc
commit 63a00aedb5

View File

@ -1,9 +1,13 @@
import nodes import math
import node_helpers
import torch import torch
import comfy.model_management import comfy.model_management
import comfy.model_sampling import comfy.model_sampling
import math import comfy.utils
from comfy import node_helpers
from comfy.nodes import base_nodes as nodes
class EmptyLTXVLatentVideo: class EmptyLTXVLatentVideo:
@classmethod @classmethod
@ -12,6 +16,7 @@ class EmptyLTXVLatentVideo:
"height": ("INT", {"default": 512, "min": 64, "max": nodes.MAX_RESOLUTION, "step": 32}), "height": ("INT", {"default": 512, "min": 64, "max": nodes.MAX_RESOLUTION, "step": 32}),
"length": ("INT", {"default": 97, "min": 9, "max": nodes.MAX_RESOLUTION, "step": 8}), "length": ("INT", {"default": 97, "min": 9, "max": nodes.MAX_RESOLUTION, "step": 8}),
"batch_size": ("INT", {"default": 1, "min": 1, "max": 4096})}} "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096})}}
RETURN_TYPES = ("LATENT",) RETURN_TYPES = ("LATENT",)
FUNCTION = "generate" FUNCTION = "generate"
@ -59,6 +64,7 @@ class LTXVConditioning:
"negative": ("CONDITIONING",), "negative": ("CONDITIONING",),
"frame_rate": ("FLOAT", {"default": 25.0, "min": 0.0, "max": 1000.0, "step": 0.01}), "frame_rate": ("FLOAT", {"default": 25.0, "min": 0.0, "max": 1000.0, "step": 0.01}),
}} }}
RETURN_TYPES = ("CONDITIONING", "CONDITIONING") RETURN_TYPES = ("CONDITIONING", "CONDITIONING")
RETURN_NAMES = ("positive", "negative") RETURN_NAMES = ("positive", "negative")
FUNCTION = "append" FUNCTION = "append"