Instructions to use lllyasviel/sd-controlnet-scribble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/sd-controlnet-scribble with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-scribble") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Update ControlNetHED.pth repo
#6
by bruce2233 - opened
README.md
CHANGED
|
@@ -95,7 +95,7 @@ import torch
|
|
| 95 |
from controlnet_aux import HEDdetector
|
| 96 |
from diffusers.utils import load_image
|
| 97 |
|
| 98 |
-
hed = HEDdetector.from_pretrained('lllyasviel/
|
| 99 |
|
| 100 |
image = load_image("https://huggingface.co/lllyasviel/sd-controlnet-scribble/resolve/main/images/bag.png")
|
| 101 |
|
|
|
|
| 95 |
from controlnet_aux import HEDdetector
|
| 96 |
from diffusers.utils import load_image
|
| 97 |
|
| 98 |
+
hed = HEDdetector.from_pretrained('lllyasviel/Annotators')
|
| 99 |
|
| 100 |
image = load_image("https://huggingface.co/lllyasviel/sd-controlnet-scribble/resolve/main/images/bag.png")
|
| 101 |
|