Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -1023,7 +1023,7 @@ class AnimateDiffPipeline(DiffusionPipeline, TextualInversionLoaderMixin, IPAdap
|
|
1023 |
local_context_size = context_size
|
1024 |
if timestep <= 1:
|
1025 |
local_context_size = context_size * 2
|
1026 |
-
for index in range(
|
1027 |
# if its the first timestep, spread the indexes out evenly over the full frame range, offset by the group index
|
1028 |
# if timestep <= 1:
|
1029 |
# step_size = (total_frames // context_size)+2
|
|
|
1023 |
local_context_size = context_size
|
1024 |
if timestep <= 1:
|
1025 |
local_context_size = context_size * 2
|
1026 |
+
for index in range(local_context_size):
|
1027 |
# if its the first timestep, spread the indexes out evenly over the full frame range, offset by the group index
|
1028 |
# if timestep <= 1:
|
1029 |
# step_size = (total_frames // context_size)+2
|