diff --git a/examples/community/interpolate_stable_diffusion.py b/examples/community/interpolate_stable_diffusion.py index af191ca977..97116bdc77 100644 --- a/examples/community/interpolate_stable_diffusion.py +++ b/examples/community/interpolate_stable_diffusion.py @@ -517,7 +517,7 @@ def walk( noise_batch, embeds_batch = None, None for image in outputs["images"]: - frame_filepath = str(save_path / f"frame_{frame_idx}.png") + frame_filepath = str(save_path / f"frame_{frame_idx:06d}.png") image.save(frame_filepath) frame_filepaths.append(frame_filepath) frame_idx += 1