Skip to content

Commit 9684c52

Browse files
authored
width and height are mixed-up (#10629)
vars mixed-up
1 parent 5483162 commit 9684c52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/pipelines/flux/pipeline_flux_controlnet_inpainting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,8 +930,8 @@ def __call__(
930930
if isinstance(self.controlnet, FluxControlNetModel):
931931
control_image = self.prepare_image(
932932
image=control_image,
933-
width=height,
934-
height=width,
933+
width=width,
934+
height=height,
935935
batch_size=batch_size * num_images_per_prompt,
936936
num_images_per_prompt=num_images_per_prompt,
937937
device=device,

0 commit comments

Comments
 (0)