Luo-Yihong
commited on
Commit
•
5e7020c
1
Parent(s):
16fe608
Update README.md
Browse files
README.md
CHANGED
@@ -19,7 +19,7 @@ PixArt-XL-2-1024-MS](https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS
|
|
19 |
## usage
|
20 |
```python
|
21 |
import torch
|
22 |
-
from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel
|
23 |
|
24 |
transformer = Transformer2DModel.from_pretrained(
|
25 |
"Luo-Yihong/yoso_pixart1024", torch_dtype=torch.float16).to('cuda')
|
|
|
19 |
## usage
|
20 |
```python
|
21 |
import torch
|
22 |
+
from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel
|
23 |
|
24 |
transformer = Transformer2DModel.from_pretrained(
|
25 |
"Luo-Yihong/yoso_pixart1024", torch_dtype=torch.float16).to('cuda')
|