mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
Linting fixes.
This commit is contained in:
@@ -35,9 +35,9 @@ def compel_encode_prompt_sdxl(pipeline: diffusers.StableDiffusionXLPipeline, pro
|
||||
else:
|
||||
positive, pooled = compel_te2(prompt)
|
||||
negative, negative_pooled = compel_te2(negative_prompt)
|
||||
|
||||
|
||||
|
||||
|
||||
[prompt_embed, negative_embed] = compel_te2.pad_conditioning_tensors_to_same_length([positive, negative])
|
||||
return prompt_embed, pooled, negative_embed, negative_pooled
|
||||
|
||||
COMPEL_ENCODE_FN_DICT = {diffusers.StableDiffusionXLPipeline: compel_encode_prompt_sdxl}
|
||||
COMPEL_ENCODE_FN_DICT = {diffusers.StableDiffusionXLPipeline: compel_encode_prompt_sdxl}
|
||||
|
||||
Reference in New Issue
Block a user