Instructions to use nguoidoncui/Controlnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nguoidoncui/Controlnet with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nguoidoncui/Controlnet", 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 diffusion_pytorch_model.safetensors from nguoidoncui/Controlnet: direct link, hf CLI and curl.
- Browser
- Download file 316 MB
-
https://huggingface.co/nguoidoncui/Controlnet/resolve/main/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://nguoidoncui/Controlnet/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/nguoidoncui/Controlnet/resolve/main/diffusion_pytorch_model.safetensors
316 MB
- Xet hash:
- 27817cf7a94fb093e53195b31a656d3c3c4aaac3ce57ceb01ca172a0da1e4b57
- Size of remote file:
- 316 MB
- SHA256:
- b601b28b7df0c0dcbbaf704ab8ba6fd22bcf35c9a875fa0c9bc933d47cc27438
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.