Instructions to use lllyasviel/sd-controlnet-canny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/sd-controlnet-canny with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-canny") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
a8f6488 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7cb537554d12b11be786659c1ede103b4d74b7743382d7ad96283f52c30dd91e
size 1445255865
|