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_openposev2.png from thibaud/controlnet-sd21: direct link, hf CLI and curl.
- Browser
- Download file 224 kB
-
https://huggingface.co/thibaud/controlnet-sd21/resolve/main/example_openposev2.png
- Command line
-
hf download hf://thibaud/controlnet-sd21/example_openposev2.png
-
curl -L -o example_openposev2.png https://huggingface.co/thibaud/controlnet-sd21/resolve/main/example_openposev2.png
224 kB
