1
0
Fork 0

apply lint

This commit is contained in:
Sean Sube 2023-09-03 19:08:42 -05:00
parent 4fd889180b
commit bb9cda58ad
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 4 additions and 2 deletions

View File

@ -286,7 +286,7 @@ def load_pipeline(
list(zip(lora_models, lora_weights)),
"text_encoder",
2,
params.is_xl()
params.is_xl(),
)
(text_encoder_2, text_encoder_2_data) = buffer_external_data_tensors(
text_encoder_2
@ -415,7 +415,9 @@ def load_pipeline(
pipe.text_encoder_2.session == components["text_encoder_2_session"],
type(pipe.text_encoder_2),
)
pipe.text_encoder_2 = ORTModelTextEncoder(text_encoder_2_session, text_encoder_2)
pipe.text_encoder_2 = ORTModelTextEncoder(
text_encoder_2_session, text_encoder_2
)
if "unet_session" in components:
logger.info(