From 422981c85b9300a55787341df8778841bedf748a Mon Sep 17 00:00:00 2001 From: deggua <26562606+deggua@users.noreply.github.com> Date: Fri, 2 Sep 2022 07:28:39 -0400 Subject: [PATCH] Forgot to remove the broken lines --- webui.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/webui.py b/webui.py index f4fcb8797..2c15be2f2 100644 --- a/webui.py +++ b/webui.py @@ -1580,13 +1580,6 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing): self.init_latent = self.init_latent * self.mask def sample(self, x, conditioning, unconditional_conditioning): - - if self.mask is not None: - if self.inpainting_fill == 2: - x = x * self.mask + create_random_tensors(x.shape[1:], [self.seed + x + 1 for x in range(x.shape[0])]) * self.nmask - elif self.inpainting_fill == 3: - x = x * self.mask - samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning) if self.mask is not None: