1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
This commit is contained in:
Aryan
2025-07-29 00:29:46 +02:00
parent 7ab5ecc774
commit 03b03a91f1

View File

@@ -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)