aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
diff options
context:
space:
mode:
authorCodeHatchling <steve@codehatch.com>2023-11-28 22:09:43 +0000
committerCodeHatchling <steve@codehatch.com>2023-11-28 22:09:43 +0000
commitbbba133f054706c3668b7d03b0e6d0afc15705db (patch)
tree1b72bdaaf5c1bbb45606d8a7f037b10e38274db6 /modules/processing.py
parentdec791d35ddcd02ca33563d3d0355e05e45de8ad (diff)
downloadstable-diffusion-webui-gfx803-bbba133f054706c3668b7d03b0e6d0afc15705db.tar.gz
stable-diffusion-webui-gfx803-bbba133f054706c3668b7d03b0e6d0afc15705db.tar.bz2
stable-diffusion-webui-gfx803-bbba133f054706c3668b7d03b0e6d0afc15705db.zip
Removed conflicting step that replaces the softly inpainted latents with a naive blend with the original latents.
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 317458f5..ae894f1a 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -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()