Processing only, no CFGDenoiser change
Allows instruct-pix2pix
This commit is contained in:
parent
cf0cfefe91
commit
3b2ad20ac1
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class StableDiffusionProcessing:
|
||||||
return conditioning
|
return conditioning
|
||||||
|
|
||||||
def edit_image_conditioning(self, source_image):
|
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
|
return conditioning_image
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue