fix skip and interrupt for highres. fix option

This commit is contained in:
Vladimir Repin 2022-10-20 22:49:06 +03:00
parent 7f8ab1ee8f
commit d1cb08bfb2

View File

@ -587,9 +587,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
x = None
devices.torch_gc()
samples = self.sampler.sample_img2img(self, samples, noise, conditioning, unconditional_conditioning, steps=self.steps)
return samples
return self.sampler.sample_img2img(self, samples, noise, conditioning, unconditional_conditioning, steps=self.steps) or samples
class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):