[Misc] Fix memory leakage in VideoGenerator (#1132)

This commit is contained in:
Zhang Peiyuan
2026-02-26 19:51:32 -08:00
committed by GitHub
parent 69dd3c68f6
commit fea556269b
9 changed files with 34 additions and 35 deletions
-1
View File
@@ -41,7 +41,6 @@ def main():
# Generate the video
video = generator.generate_video(
prompt,
return_frames=True, # Also return frames from this call (defaults to False)
output_path="my_videos/", # Controls where videos are saved
save_video=True
)