feat(api): disable prompt alternatives for panorama to fix regions
This commit is contained in:
parent
5824149cc0
commit
59685770e4
|
@ -130,7 +130,9 @@ class SourceTxt2ImgStage(BaseStage):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# encode and record alternative prompts outside of LPW
|
# encode and record alternative prompts outside of LPW
|
||||||
if not params.is_xl():
|
if params.is_panorama() or params.is_xl():
|
||||||
|
logger.debug("prompt alternatives are not supported for panorama or SDXL")
|
||||||
|
else:
|
||||||
prompt_embeds = encode_prompt(
|
prompt_embeds = encode_prompt(
|
||||||
pipe, prompt_pairs, params.batch, params.do_cfg()
|
pipe, prompt_pairs, params.batch, params.do_cfg()
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue