Instructions to use PAIR/text2video-zero-controlnet-canny-avatar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PAIR/text2video-zero-controlnet-canny-avatar with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("PAIR/text2video-zero-controlnet-canny-avatar", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download text_encoder/pytorch_model.bin from PAIR/text2video-zero-controlnet-canny-avatar: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/PAIR/text2video-zero-controlnet-canny-avatar/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://PAIR/text2video-zero-controlnet-canny-avatar/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/PAIR/text2video-zero-controlnet-canny-avatar/resolve/main/text_encoder/pytorch_model.bin
492 MB
- Xet hash:
- e2a90ef1d2bd9955c7d527bf271b6346b5c82b171b41996a42519be963a6524b
- Size of remote file:
- 492 MB
- SHA256:
- be9cea0437102bf31611ff7974f3d600355c0ae839c4513c6a8332472b8551f3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.