lavaman131
commited on
Commit
•
2d8b520
1
Parent(s):
61f1bba
Update README.md
Browse files
README.md
CHANGED
@@ -35,6 +35,9 @@ You can find some example images below:
|
|
35 |
#### How to use
|
36 |
|
37 |
```python
|
|
|
|
|
|
|
38 |
# basic usage
|
39 |
repo_id = "lavaman131/cartoonify"
|
40 |
torch_dtype = torch.float16 if device.type in ["mps", "cuda"] else torch.float32
|
|
|
35 |
#### How to use
|
36 |
|
37 |
```python
|
38 |
+
import torch
|
39 |
+
from diffusers import StableDiffusionPipeline
|
40 |
+
|
41 |
# basic usage
|
42 |
repo_id = "lavaman131/cartoonify"
|
43 |
torch_dtype = torch.float16 if device.type in ["mps", "cuda"] else torch.float32
|