1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

width and height are mixed-up (#10629)

vars mixed-up
This commit is contained in:
Raul Ciotescu
2025-01-23 17:40:22 +01:00
committed by GitHub
parent 5483162d12
commit 9684c52adf

View File

@@ -930,8 +930,8 @@ class FluxControlNetInpaintPipeline(DiffusionPipeline, FluxLoraLoaderMixin, From
if isinstance(self.controlnet, FluxControlNetModel):
control_image = self.prepare_image(
image=control_image,
width=height,
height=width,
width=width,
height=height,
batch_size=batch_size * num_images_per_prompt,
num_images_per_prompt=num_images_per_prompt,
device=device,