Instructions to use alx-ai/canny_21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alx-ai/canny_21 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("alx-ai/canny_21", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Al Duffy commited on
Commit ·
556f14f
1
Parent(s): ad69f10
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
"_diffusers_version": "0.15.0.dev0",
|
| 4 |
"_name_or_path": "./canny-sd21",
|
| 5 |
"act_fn": "silu",
|
|
|
|
| 6 |
"attention_head_dim": [
|
| 7 |
5,
|
| 8 |
10,
|
|
|
|
| 3 |
"_diffusers_version": "0.15.0.dev0",
|
| 4 |
"_name_or_path": "./canny-sd21",
|
| 5 |
"act_fn": "silu",
|
| 6 |
+
"from_tf":"True" ,
|
| 7 |
"attention_head_dim": [
|
| 8 |
5,
|
| 9 |
10,
|