Removed conflicting step that replaces the softly inpainted latents with a naive blend with the original latents.

This commit is contained in:
CodeHatchling 2023-11-28 15:09:43 -07:00
parent dec791d35d
commit bbba133f05
1 changed files with 0 additions and 3 deletions

View File

@ -1523,9 +1523,6 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning, image_conditioning=self.image_conditioning) samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning, image_conditioning=self.image_conditioning)
if self.mask is not None:
samples = samples * self.nmask + self.init_latent * self.mask
del x del x
devices.torch_gc() devices.torch_gc()