From 03b03a91f1dbcbc8a999addf455414b2e05f79c2 Mon Sep 17 00:00:00 2001 From: Aryan Date: Tue, 29 Jul 2025 00:29:46 +0200 Subject: [PATCH] update --- src/diffusers/modular_pipelines/wan/encoders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffusers/modular_pipelines/wan/encoders.py b/src/diffusers/modular_pipelines/wan/encoders.py index c60fb150bf..d25e96414d 100644 --- a/src/diffusers/modular_pipelines/wan/encoders.py +++ b/src/diffusers/modular_pipelines/wan/encoders.py @@ -314,7 +314,7 @@ class WanImageEncoderStep(PipelineBlock): @staticmethod def encode_image( components, - image: PipelineImageInput, + image: Union[PipelineImageInput, List[PipelineImageInput]], device: torch.device, ): image = components.image_processor(images=image, return_tensors="pt").to(device)