fix init_image

This commit is contained in:
Vladimir Mandic
2023-08-13 08:22:03 +00:00
parent 7e81355741
commit 23efa8f0a5
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -1077,7 +1077,7 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
if crop_region is not None:
image = image.crop(crop_region)
image = images.resize_image(3, image, self.width, self.height)
self.init_images = image # assign early for diffusers
self.init_images = [image] # assign early for diffusers
if image_mask is not None:
if self.inpainting_fill != 1:
image = masking.fill(image, latent_mask)