Unverified Commit 627ad6e8 authored by Nathan Raw's avatar Nathan Raw Committed by GitHub
Browse files

Rename frame filename in interpolation community example (#881)

🎨 rename frame filename
parent fd26624f
...@@ -517,7 +517,7 @@ class StableDiffusionWalkPipeline(DiffusionPipeline): ...@@ -517,7 +517,7 @@ class StableDiffusionWalkPipeline(DiffusionPipeline):
noise_batch, embeds_batch = None, None noise_batch, embeds_batch = None, None
for image in outputs["images"]: 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) image.save(frame_filepath)
frame_filepaths.append(frame_filepath) frame_filepaths.append(frame_filepath)
frame_idx += 1 frame_idx += 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment