Skip to content

Commit

Permalink
Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffu…
Browse files Browse the repository at this point in the history
…sion_inpaint.py

Co-authored-by: Patrick von Platen <[email protected]>
  • Loading branch information
yiyixuxu and patrickvonplaten authored Dec 26, 2023
1 parent 724c63e commit 615e331
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ def __call__(
The height in pixels of the generated image.
width (`int`, *optional*, defaults to `self.unet.config.sample_size * self.vae_scale_factor`):
The width in pixels of the generated image.
padding_mask_crop(`int`, *optional*, defaults to `None`):
padding_mask_crop (`int`, *optional*, defaults to `None`):
The size of margin in the crop to be applied to the image and masking. If `None`, no crop is applied to image and mask_image. If
`padding_mask_crop` is not `None`, it will first find a rectangular region with the same aspect ration of the image and
contains all masked area, and then expand that area based on `padding_mask_crop`. The image and mask_image will then be cropped based on
Expand Down

0 comments on commit 615e331

Please sign in to comment.