Instructions to use osanseviero/tiny-controlnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use osanseviero/tiny-controlnet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("osanseviero/tiny-controlnet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "hf-internal-testing/tiny-stable-diffusion-pipe-no-safety", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Commit ·
829f688
1
Parent(s): 08cb4f7
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
"_diffusers_version": "0.16.0.dev0",
|
| 4 |
"_name_or_path": "./",
|
| 5 |
"act_fn": "silu",
|
|
|
|
| 1 |
{
|
| 2 |
+
"_class_name": "test",
|
| 3 |
"_diffusers_version": "0.16.0.dev0",
|
| 4 |
"_name_or_path": "./",
|
| 5 |
"act_fn": "silu",
|