Skip to content

Commit

Permalink
Rename frame filename in interpolation community example (open-mmlab#881
Browse files Browse the repository at this point in the history
)

🎨 rename frame filename
  • Loading branch information
nateraw authored Oct 17, 2022
1 parent fd26624 commit 627ad6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/community/interpolate_stable_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 627ad6e

Please sign in to comment.