From 627ad6e8ea91a32dea530832297e58e021825631 Mon Sep 17 00:00:00 2001 From: Nathan Raw Date: Mon, 17 Oct 2022 14:08:58 -0400 Subject: [PATCH] Rename frame filename in interpolation community example (#881) :art: rename frame filename --- examples/community/interpolate_stable_diffusion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ class StableDiffusionWalkPipeline(DiffusionPipeline): 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