fix(api): do not apply prompt expansion patch to SDXL
This commit is contained in:
parent
4d0e24a47b
commit
bbff1913ef
|
@ -544,7 +544,7 @@ def patch_pipeline(
|
|||
) -> None:
|
||||
logger.debug("patching SD pipeline")
|
||||
|
||||
if not params.is_lpw():
|
||||
if not params.is_lpw() and not params.is_xl():
|
||||
pipe._encode_prompt = expand_prompt.__get__(pipe, pipeline)
|
||||
|
||||
if not params.is_xl():
|
||||
|
|
Loading…
Reference in New Issue