Instructions to use lllyasviel/sd-controlnet-normal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/sd-controlnet-normal with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-normal") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Commit ·
19f7b8d
1
Parent(s): 98b703d
Update README.md
Browse files
README.md
CHANGED
|
@@ -74,7 +74,7 @@ Experimentally, the checkpoint can be used with other diffusion models such as d
|
|
| 74 |
1. Let's install `diffusers` and related packages:
|
| 75 |
|
| 76 |
```
|
| 77 |
-
$ pip install diffusers transformers
|
| 78 |
```
|
| 79 |
|
| 80 |
2. Run code:
|
|
|
|
| 74 |
1. Let's install `diffusers` and related packages:
|
| 75 |
|
| 76 |
```
|
| 77 |
+
$ pip install diffusers transformers accelerate
|
| 78 |
```
|
| 79 |
|
| 80 |
2. Run code:
|