fix(api): turn alternatives back off for SDXL
This commit is contained in:
parent
6eb014cec8
commit
3ffbc00390
|
@ -81,6 +81,7 @@ class BlendImg2ImgStage(BaseStage):
|
|||
)
|
||||
else:
|
||||
# encode and record alternative prompts outside of LPW
|
||||
if not params.is_xl():
|
||||
prompt_embeds = encode_prompt(
|
||||
pipe, prompt_pairs, params.batch, params.do_cfg()
|
||||
)
|
||||
|
|
|
@ -130,6 +130,7 @@ class SourceTxt2ImgStage(BaseStage):
|
|||
)
|
||||
else:
|
||||
# encode and record alternative prompts outside of LPW
|
||||
if not params.is_xl():
|
||||
prompt_embeds = encode_prompt(
|
||||
pipe, prompt_pairs, params.batch, params.do_cfg()
|
||||
)
|
||||
|
|
|
@ -99,6 +99,7 @@ class UpscaleOutpaintStage(BaseStage):
|
|||
)
|
||||
else:
|
||||
# encode and record alternative prompts outside of LPW
|
||||
if not params.is_xl():
|
||||
prompt_embeds = encode_prompt(
|
||||
pipe, prompt_pairs, params.batch, params.do_cfg()
|
||||
)
|
||||
|
|
|
@ -48,6 +48,7 @@ class UpscaleStableDiffusionStage(BaseStage):
|
|||
)
|
||||
generator = torch.manual_seed(params.seed)
|
||||
|
||||
if not params.is_xl():
|
||||
prompt_embeds = encode_prompt(
|
||||
pipeline,
|
||||
prompt_pairs,
|
||||
|
|
Loading…
Reference in New Issue