mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 21:42:37 +08:00
ruff check
This commit is contained in:
parent
86348baa9e
commit
b012a3307e
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user