mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Correct order height & width in pipeline_paint_by_example.py (#1589)
Update pipeline_paint_by_example.py
This commit is contained in:
@@ -457,7 +457,7 @@ class PaintByExamplePipeline(DiffusionPipeline):
|
||||
|
||||
# 2. Preprocess mask and image
|
||||
mask, masked_image = prepare_mask_and_masked_image(image, mask_image)
|
||||
width, height = masked_image.shape[-2:]
|
||||
height, width = masked_image.shape[-2:]
|
||||
|
||||
# 3. Check inputs
|
||||
self.check_inputs(example_image, height, width, callback_steps)
|
||||
|
||||
Reference in New Issue
Block a user