Instructions to use hf-internal-testing/tiny-controlnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-controlnet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("hf-internal-testing/tiny-controlnet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "hf-internal-testing/tiny-stable-diffusion-pipe-no-safety", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Commit ·
0e198f2
1
Parent(s): ed3c5f2
Update config.json
Browse files- config.json +0 -2
config.json
CHANGED
|
@@ -11,8 +11,6 @@
|
|
| 11 |
"conditioning_embedding_out_channels": [
|
| 12 |
16,
|
| 13 |
32,
|
| 14 |
-
96,
|
| 15 |
-
256
|
| 16 |
],
|
| 17 |
"controlnet_conditioning_channel_order": "rgb",
|
| 18 |
"cross_attention_dim": 32,
|
|
|
|
| 11 |
"conditioning_embedding_out_channels": [
|
| 12 |
16,
|
| 13 |
32,
|
|
|
|
|
|
|
| 14 |
],
|
| 15 |
"controlnet_conditioning_channel_order": "rgb",
|
| 16 |
"cross_attention_dim": 32,
|