Commit
·
27c4717
1
Parent(s):
c20f5c8
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ DESCRIPTION = """ 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>"
|
@@ -57,7 +58,8 @@ style_list = [
|
|
57 |
},
|
58 |
{
|
59 |
"name": "Digital Art",
|
60 |
-
"prompt": "concept art {prompt} . digital artwork, illustrative, painterly, matte painting, highly detailed"
|
|
|
61 |
"negative_prompt": "photo, photorealistic, realism, ugly",
|
62 |
},
|
63 |
{
|
|
|
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 |
+
Don't want to queue? Try [Google Colab Demo](https://colab.research.google.com/drive/1jZ5UZXk7tcpTfVwnX33dDuefNMcnW9ME?usp=sharing). It's slower but still free.
|
21 |
"""
|
22 |
if not torch.cuda.is_available():
|
23 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
|
|
|
58 |
},
|
59 |
{
|
60 |
"name": "Digital Art",
|
61 |
+
"prompt": "concept art {prompt} . digital artwork, illustrative, painterly, matte painting, highly detailed"
|
62 |
+
,
|
63 |
"negative_prompt": "photo, photorealistic, realism, ugly",
|
64 |
},
|
65 |
{
|