Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -1191,7 +1191,7 @@ class AnimateDiffPipeline(DiffusionPipeline, TextualInversionLoaderMixin, IPAdap
|
|
1191 |
# concatenate negative prompt embeddings with prompt embeddings on a new dimension after the first batch dimension
|
1192 |
# print shape of single_prompt_embeds
|
1193 |
print("single prompt embes shape ",single_prompt_embeds.shape)
|
1194 |
-
single_prompt_embeds = torch.
|
1195 |
|
1196 |
prompt_embeds_list.append(single_prompt_embeds)
|
1197 |
# print shape of single prompt embeds
|
|
|
1191 |
# concatenate negative prompt embeddings with prompt embeddings on a new dimension after the first batch dimension
|
1192 |
# print shape of single_prompt_embeds
|
1193 |
print("single prompt embes shape ",single_prompt_embeds.shape)
|
1194 |
+
single_prompt_embeds = torch.cat([single_negative_prompt_embeds, single_prompt_embeds])
|
1195 |
|
1196 |
prompt_embeds_list.append(single_prompt_embeds)
|
1197 |
# print shape of single prompt embeds
|