zhiweili commited on
Commit
50e8483
1 Parent(s): 85f4bc7
pipelines/masked_stable_diffusion_xl_img2img.py CHANGED
@@ -213,7 +213,7 @@ class MaskedStableDiffusionXLImg2ImgPipeline(StableDiffusionXLImg2ImgPipeline):
213
  if pil_mask.mode != "L":
214
  pil_mask = pil_mask.convert("L")
215
  mask_blur = self.blur_mask(pil_mask, blur)
216
- mask_compose = self.blur_mask(pil_mask, blur_compose)
217
  if original_image is None:
218
  original_image = image
219
  if prompt is not None and isinstance(prompt, str):
 
213
  if pil_mask.mode != "L":
214
  pil_mask = pil_mask.convert("L")
215
  mask_blur = self.blur_mask(pil_mask, blur)
216
+ mask_compose = self.blur_mask(mask_blur, blur_compose)
217
  if original_image is None:
218
  original_image = image
219
  if prompt is not None and isinstance(prompt, str):