Instructions to use lllyasviel/sd-controlnet-hed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/sd-controlnet-hed with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-hed") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
using lllyasviel/Annotators instead of lllyasviel/ControlNet
#5
by yj2773 - opened
Using lllyasviel/Annotators becasue on using lllyasviel/ControlNet we get
EntryNotFoundError: 404 Client Error. (Request ID: Root=1-65b663b1-749bf4bb31b4ecf6380c08ca;09a961b7-5b08-414c-b83d-1989353f8104)
Entry Not Found for url: https://huggingface.co/lllyasviel/ControlNet/resolve/main/ControlNetHED.pth.