1
0
Fork 0

fix(api): do not apply prompt expansion patch to SDXL

This commit is contained in:
Sean Sube 2023-09-13 22:09:41 -05:00
parent 4d0e24a47b
commit bbff1913ef
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -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():