Merge pull request #50 from deggua/automatic_master
Fix for fill latent zeros/noise in masking mode
This commit is contained in:
commit
b743ac0ecf
1
webui.py
1
webui.py
|
@ -1578,7 +1578,6 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
|
|||
elif self.inpainting_fill == 3:
|
||||
self.init_latent = self.init_latent * self.mask
|
||||
|
||||
|
||||
def sample(self, x, conditioning, unconditional_conditioning):
|
||||
samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning)
|
||||
|
||||
|
|
Loading…
Reference in New Issue