.to("cuda")  Text-To-Video with Pose Control

To generate a video from prompt with additional pose control
Download a demo video   Copied from huggingface_hub import hf_hub_download

filename = "__assets__/poses_skeleton_gifs/dance1_corr.mp4"
repo_id = "PAIR/Text2Video-Zero"
video_path = hf_hub_download(repo_type="space", repo_id=repo_id, filename=filename) Read video containing extracted pose images   Copied from PIL import Image
import imagei