Yihong Luo
commited on
Commit
•
a662069
1
Parent(s):
a4063f4
Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel, DPM
|
|
11 |
transformer = Transformer2DModel.from_pretrained(
|
12 |
"Yihong666/yoso_pixart1024", torch_dtype=torch.float16).to('cuda')
|
13 |
|
14 |
-
pipe = PixArtAlphaPipeline.from_pretrained("
|
15 |
transformer=transformer,
|
16 |
torch_dtype=torch.float16, use_safetensors=True)
|
17 |
|
|
|
11 |
transformer = Transformer2DModel.from_pretrained(
|
12 |
"Yihong666/yoso_pixart1024", torch_dtype=torch.float16).to('cuda')
|
13 |
|
14 |
+
pipe = PixArtAlphaPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-512x512",
|
15 |
transformer=transformer,
|
16 |
torch_dtype=torch.float16, use_safetensors=True)
|
17 |
|