Skip to content

Commit 6e890cd

Browse files
authored
Merge branch 'main' into flux-ipadapter-docs
2 parents c8915f3 + 9684c52 commit 6e890cd

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)