[diffusion] fix: fix gen video doc (#14409)

Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
Co-authored-by: Mick <mickjagger19@icloud.com>
This commit is contained in:
R0CKSTAR
2025-12-04 22:05:38 +08:00
committed by GitHub
parent 8428078436
commit 079ac237da

View File

@@ -37,15 +37,14 @@ def main():
num_gpus=1, # Adjust based on your hardware
)
# Provide a prompt for your video
prompt = "A curious raccoon peers through a vibrant field of yellow sunflowers, its eyes wide with interest."
# Generate the video
video = generator.generate(
prompt,
return_frames=True, # Also return frames from this call (defaults to False)
output_path="my_videos/", # Controls where videos are saved
save_output=True
sampling_params_kwargs=dict(
prompt="A curious raccoon peers through a vibrant field of yellow sunflowers, its eyes wide with interest.",
return_frames=True, # Also return frames from this call (defaults to False)
output_path="my_videos/", # Controls where videos are saved
save_output=True
)
)
if __name__ == '__main__':