Spaces:
Sleeping
Sleeping
Download python from 1c1/TurkeyVideoai: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/1c1/TurkeyVideoai/resolve/main/python
- Command line
-
hf download hf://spaces/1c1/TurkeyVideoai/python
-
curl -L -o python https://huggingface.co/spaces/1c1/TurkeyVideoai/resolve/main/python
265 Bytes
| from diffusers import DiffusionPipeline | |
| import torch | |
| pipe = DiffusionPipeline.from_pretrained( | |
| "damo-vilab/text-to-video-ms-1.7b", | |
| torch_dtype=torch.float16 | |
| ).to("cuda") | |
| prompt = "a futuristic city at night, neon lights" | |
| video_frames = pipe(prompt).frames |