Yihong Luo
commited on
Commit
•
8689b54
1
Parent(s):
9906ead
Update README.md
Browse files
README.md
CHANGED
@@ -9,6 +9,7 @@ We wanna highlight that the YOSO-PixArt was originally trained on 512 resolution
|
|
9 |
|
10 |
## usage
|
11 |
```python
|
|
|
12 |
from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel, DPMSolverMultistepScheduler
|
13 |
|
14 |
transformer = Transformer2DModel.from_pretrained(
|
|
|
9 |
|
10 |
## usage
|
11 |
```python
|
12 |
+
import torch
|
13 |
from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel, DPMSolverMultistepScheduler
|
14 |
|
15 |
transformer = Transformer2DModel.from_pretrained(
|