jschen commited on
Commit
fd2cfa4
1 Parent(s): 3510182

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -14,8 +14,9 @@ import torch
14
  from diffusers import AutoencoderKL, PixArtAlphaPipeline
15
 
16
  DESCRIPTION = """![Logo](https://raw.githubusercontent.com/PixArt-alpha/PixArt-alpha.github.io/master/static/images/logo.png)
17
- # PixArt-Alpha 1024
18
- #### [PixArt-Alpha 1024](https://github.com/PixArt-alpha/PixArt-alpha) is a transformer-based text-to-image diffusion system trained on text embeddings from T5. This demo uses the [PixArt-alpha/PixArt-XL-2-1024-MS](https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS) checkpoint.
 
19
  """
20
  if not torch.cuda.is_available():
21
  DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
 
14
  from diffusers import AutoencoderKL, PixArtAlphaPipeline
15
 
16
  DESCRIPTION = """![Logo](https://raw.githubusercontent.com/PixArt-alpha/PixArt-alpha.github.io/master/static/images/logo.png)
17
+ # PixArt-Alpha 1024px
18
+ #### [PixArt-Alpha 1024px](https://github.com/PixArt-alpha/PixArt-alpha) is a transformer-based text-to-image diffusion system trained on text embeddings from T5. This demo uses the [PixArt-alpha/PixArt-XL-2-1024-MS](https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS) checkpoint.
19
+ #### English prompts ONLY; 提示词仅限英文
20
  """
21
  if not torch.cuda.is_available():
22
  DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"