Processing only, no CFGDenoiser change

Allows instruct-pix2pix
This commit is contained in:
Kyle 2023-02-02 19:19:45 -05:00
parent cf0cfefe91
commit 3b2ad20ac1

View file

@ -186,7 +186,7 @@ class StableDiffusionProcessing:
return conditioning
def edit_image_conditioning(self, source_image):
conditioning_image = self.sd_model.get_first_stage_encoding(self.sd_model.encode_first_stage(source_image))
conditioning_image = self.sd_model.encode_first_stage(source_image).mode()
return conditioning_image