Commit bbba133f authored by CodeHatchling's avatar CodeHatchling

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

Removed conflicting step that replaces the softly inpainted latents with a naive blend with the original latents.
parent dec791d3
......@@ -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)
if self.mask is not None:
samples = samples * self.nmask + self.init_latent * self.mask
del x
devices.torch_gc()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment