Text-to-Image
Diffusers
Safetensors
PixArtAlphaPipeline
Pixart-α
yujincheng08 commited on
Commit
196525a
1 Parent(s): 8e10ed6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -6,7 +6,7 @@ Usage:
6
  ```python
7
  from diffusers import PixArtAlphaPipeline
8
  import torch
9
- pipe = PixArtAlphaPipeline.from_pretrained("./PixArt-XL-2-1024x1024", torch_dtype=torch.float16)
10
  pipe = pipe.to("cuda")
11
  pipe.enable_attention_slicing()
12
  prompt = "A alpaca made of colorful building blocks, cyberpunk"
 
6
  ```python
7
  from diffusers import PixArtAlphaPipeline
8
  import torch
9
+ pipe = PixArtAlphaPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-1024-MS", torch_dtype=torch.float16)
10
  pipe = pipe.to("cuda")
11
  pipe.enable_attention_slicing()
12
  prompt = "A alpaca made of colorful building blocks, cyberpunk"