Skip to content

Commit d9b5b43

Browse files
Correct order height & width in pipeline_paint_by_example.py (huggingface#1589)
Update pipeline_paint_by_example.py
1 parent bb2d7ca commit d9b5b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/paint_by_example/pipeline_paint_by_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def __call__(
457457

458458
# 2. Preprocess mask and image
459459
mask, masked_image = prepare_mask_and_masked_image(image, mask_image)
460-
width, height = masked_image.shape[-2:]
460+
height, width = masked_image.shape[-2:]
461461

462462
# 3. Check inputs
463463
self.check_inputs(example_image, height, width, callback_steps)

0 commit comments

Comments
 (0)