Skip to content

Commit 85eb505

Browse files
authored
fix CI bug for kandinsky3_img2img case (huggingface#12474)
* fix CI bug for kandinsky3_img2img case Signed-off-by: Liu, Kaixuan <[email protected]> * update code Signed-off-by: Liu, Kaixuan <[email protected]> --------- Signed-off-by: Liu, Kaixuan <[email protected]>
1 parent ccdd96c commit 85eb505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def encode_prompt(
113113
negative_prompt=None,
114114
prompt_embeds: Optional[torch.Tensor] = None,
115115
negative_prompt_embeds: Optional[torch.Tensor] = None,
116-
_cut_context=False,
116+
_cut_context=True,
117117
attention_mask: Optional[torch.Tensor] = None,
118118
negative_attention_mask: Optional[torch.Tensor] = None,
119119
):

0 commit comments

Comments
 (0)