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 = {}, transformer_options = {},
drop_visual: Optional[List[bool]] = None, drop_visual: Optional[List[bool]] = None,
): ):
device = x.device
audio = x audio = x
bs, _, ol = x.shape bs, _, ol = x.shape
tl = ol // self.patch_size tl = ol // self.patch_size

View File

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