Update pipeline.py
Browse files- pipeline.py +1 -3
pipeline.py
CHANGED
@@ -1432,9 +1432,7 @@ class AnimateDiffPipeline(DiffusionPipeline, TextualInversionLoaderMixin, IPAdap
|
|
1432 |
|
1433 |
# get the current prompt index based on the current context group (for blending between multiple prompts)
|
1434 |
current_prompt_index = int((context_group / len(context_indexes[i])) * len(prompt_embeds_list))
|
1435 |
-
|
1436 |
-
print(current_prompt_index, current_context_indexes)
|
1437 |
-
|
1438 |
# 7 Add image embeds for IP-Adapter
|
1439 |
added_cond_kwargs = {"image_embeds": image_embeds[min(current_prompt_index, len(image_embeds) - 1)]} if ip_adapter_image is not None else None
|
1440 |
|
|
|
1432 |
|
1433 |
# get the current prompt index based on the current context group (for blending between multiple prompts)
|
1434 |
current_prompt_index = int((context_group / len(context_indexes[i])) * len(prompt_embeds_list))
|
1435 |
+
|
|
|
|
|
1436 |
# 7 Add image embeds for IP-Adapter
|
1437 |
added_cond_kwargs = {"image_embeds": image_embeds[min(current_prompt_index, len(image_embeds) - 1)]} if ip_adapter_image is not None else None
|
1438 |
|