Instructions to use thibaud/controlnet-sd21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use thibaud/controlnet-sd21 with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("thibaud/controlnet-sd21") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Download example_canny.png from thibaud/controlnet-sd21: direct link, hf CLI and curl.
- Browser
- Download file 302 kB
-
https://huggingface.co/thibaud/controlnet-sd21/resolve/refs%2Fpr%2F13/example_canny.png
- Command line
-
hf download hf://thibaud/controlnet-sd21@refs/pr/13/example_canny.png
-
curl -L -o example_canny.png https://huggingface.co/thibaud/controlnet-sd21/resolve/refs%2Fpr%2F13/example_canny.png
302 kB
