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