Unverified Commit 9684c52a authored by Raul Ciotescu's avatar Raul Ciotescu Committed by GitHub
Browse files

width and height are mixed-up (#10629)

vars mixed-up
parent 5483162d
...@@ -930,8 +930,8 @@ class FluxControlNetInpaintPipeline(DiffusionPipeline, FluxLoraLoaderMixin, From ...@@ -930,8 +930,8 @@ class FluxControlNetInpaintPipeline(DiffusionPipeline, FluxLoraLoaderMixin, From
if isinstance(self.controlnet, FluxControlNetModel): if isinstance(self.controlnet, FluxControlNetModel):
control_image = self.prepare_image( control_image = self.prepare_image(
image=control_image, image=control_image,
width=height, width=width,
height=width, height=height,
batch_size=batch_size * num_images_per_prompt, batch_size=batch_size * num_images_per_prompt,
num_images_per_prompt=num_images_per_prompt, num_images_per_prompt=num_images_per_prompt,
device=device, device=device,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment