diff --git a/api/onnx_web/chain/source_txt2img.py b/api/onnx_web/chain/source_txt2img.py index 7485e5ea..d46b3711 100644 --- a/api/onnx_web/chain/source_txt2img.py +++ b/api/onnx_web/chain/source_txt2img.py @@ -130,7 +130,9 @@ class SourceTxt2ImgStage(BaseStage): ) else: # 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( pipe, prompt_pairs, params.batch, params.do_cfg() )