Processing only, no CFGDenoiser change
Allows instruct-pix2pix
This commit is contained in:
parent
cf0cfefe91
commit
3b2ad20ac1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user