1
0
Fork 0

add prefix to inversion path

This commit is contained in:
Sean Sube 2023-03-15 08:55:35 -05:00
parent 421ed632b1
commit b451196dfa
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ def load_pipeline(
} }
if inversions is not None and len(inversions) > 0: if inversions is not None and len(inversions) > 0:
inversion = inversions[0][0] inversion = "inversion-" + inversions[0][0]
logger.debug("loading Textual Inversion from %s", inversion) logger.debug("loading Textual Inversion from %s", inversion)
# TODO: blend the inversion models # TODO: blend the inversion models
components["text_encoder"] = OnnxRuntimeModel.from_pretrained( components["text_encoder"] = OnnxRuntimeModel.from_pretrained(