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
New to Using Hugging Face Model in CntrolNetModel
#33
by L3O - opened
Hi :)
I am new to using those kind of models in hugging face.
I have a piece of code to using control net as it is seen in the example on page : https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion/controlnet
However, as I am not sure how to use your models.
How do I load them to use them as controller using StableDiffusionControlNetPipeline and ControlNetModel Huggingface pipelines
Thanks in advance :)
L3O changed discussion title from New to Using Hugging Face Model to New to Using Hugging Face Model in CntrolNetModel