might not have more vo variants

This commit is contained in:
j 2026-01-24 18:47:14 +01:00
commit cb740dd48c

View file

@ -216,7 +216,7 @@ def compose(clips, fragment, target=150, base=1024, voice_over=None, options=Non
print("Voice Over:")
if voice_over:
vo_keys = list(sorted(voice_over))
while int(sub_offset * fps) < scene_duration:
while int(sub_offset * fps) < scene_duration and vo_keys:
if sub_offset:
gap = (5 * fps + random_int(seq, 10 * fps)) / fps
else: