remove dirty cond_stage_key

This commit is contained in:
layerdiffusion
2024-08-05 11:39:20 -07:00
parent d77582aa5a
commit 27641043ee
3 changed files with 2 additions and 3 deletions

View File

@@ -1579,7 +1579,7 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
def init(self, all_prompts, all_seeds, all_subseeds):
self.extra_generation_params["Denoising strength"] = self.denoising_strength
self.image_cfg_scale: float = self.image_cfg_scale if shared.sd_model.cond_stage_key == "edit" else None
self.image_cfg_scale: float = None
self.sampler = sd_samplers.create_sampler(self.sampler_name, self.sd_model)
crop_region = None