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 control_sd15_mlsd.pth from nguoidoncui/Controlnet: direct link, hf CLI and curl.
- Browser
- Download file 5.71 GB
-
https://huggingface.co/nguoidoncui/Controlnet/resolve/main/control_sd15_mlsd.pth
- Command line
-
hf download hf://nguoidoncui/Controlnet/control_sd15_mlsd.pth
-
curl -L -o control_sd15_mlsd.pth https://huggingface.co/nguoidoncui/Controlnet/resolve/main/control_sd15_mlsd.pth
5.71 GB
- Xet hash:
- e89349db02fe610d73d15af9fb65a8558753980a5295b7cde8630ec3277a01c6
- Size of remote file:
- 5.71 GB
- SHA256:
- 4520b22400756ac96be61f900a59ab648ec487127beb7a095a708a4d3472b6eb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.