We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab5ecc commit 03b03a9Copy full SHA for 03b03a9
src/diffusers/modular_pipelines/wan/encoders.py
@@ -314,7 +314,7 @@ def check_inputs(block_state):
314
@staticmethod
315
def encode_image(
316
components,
317
- image: PipelineImageInput,
+ image: Union[PipelineImageInput, List[PipelineImageInput]],
318
device: torch.device,
319
):
320
image = components.image_processor(images=image, return_tensors="pt").to(device)
0 commit comments