diff options
author | deggua <26562606+deggua@users.noreply.github.com> | 2022-09-02 11:28:39 +0000 |
---|---|---|
committer | deggua <26562606+deggua@users.noreply.github.com> | 2022-09-02 11:28:39 +0000 |
commit | 422981c85b9300a55787341df8778841bedf748a (patch) | |
tree | 0e3e18acda5509319302a4ce2e563c00cb07c597 | |
parent | f9c0046897e49d2fcc9b8d6c79c2c3d82fc365bc (diff) | |
download | stable-diffusion-webui-gfx803-422981c85b9300a55787341df8778841bedf748a.tar.gz stable-diffusion-webui-gfx803-422981c85b9300a55787341df8778841bedf748a.tar.bz2 stable-diffusion-webui-gfx803-422981c85b9300a55787341df8778841bedf748a.zip |
Forgot to remove the broken lines
-rw-r--r-- | webui.py | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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:
|