ruff check

This commit is contained in:
Yousef Rafat 2025-11-19 23:19:22 +02:00
parent 86348baa9e
commit b012a3307e
2 changed files with 1 additions and 2 deletions

View File

@ -851,7 +851,6 @@ class HunyuanVideoFoley(nn.Module):
transformer_options = {},
drop_visual: Optional[List[bool]] = None,
):
device = x.device
audio = x
bs, _, ol = x.shape
tl = ol // self.patch_size

View File

@ -50,7 +50,7 @@ class EncodeVideo(io.ComfyNode):
@classmethod
def execute(cls, video, processing_batch_size, step_size, vae = None, clip_vision = None):
video = video.images
if not isinstance(video, torch.Tensor):
video = torch.from_numpy(video)