ValouF-pimento
commited on
Commit
•
e1f106b
1
Parent(s):
5bb5ef7
Update README.md
Browse files
README.md
CHANGED
@@ -2,3 +2,18 @@
|
|
2 |
license: apache-2.0
|
3 |
library_name: diffusers
|
4 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: apache-2.0
|
3 |
library_name: diffusers
|
4 |
---
|
5 |
+
|
6 |
+
To use it
|
7 |
+
|
8 |
+
```python
|
9 |
+
from diffusers import ControlNetModel
|
10 |
+
import torch
|
11 |
+
|
12 |
+
|
13 |
+
model = ControlNetModel.from_pretrained(
|
14 |
+
"ValouF-pimento/ControlNet_SDXL_tile_upscale",
|
15 |
+
torch_dtype=torch.float16,
|
16 |
+
use_safetensors=True,
|
17 |
+
variant="fp16",
|
18 |
+
)
|
19 |
+
```
|