Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,18 +15,19 @@ def generateimage1(query):
|
|
15 |
def generateimage2(query):
|
16 |
return query.replace(' ', '-') + '-chatgpt.png'
|
17 |
|
18 |
-
title = "# Unleash the power of Stable Diffusion with
|
19 |
|
20 |
description = """
|
21 |
Stable Diffusion struggles with unclear and vague prompts, but by harnessing the advanced reasoning capabilities of ChatGPT. We can generate detailed and descriptive prompts for improved and unparalleled generation results.
|
22 |
"""
|
23 |
|
24 |
example = """
|
25 |
-
###
|
|
|
26 |
- `Act as a professional character designer. Please generate prompts include detail appearance descriptions that related to the personality. Here's your first question: 'a gentle man':`
|
27 |
- `Please generate detailed prompts from abstract prompts. "a gentle man". Let's think step by step:`
|
28 |
|
29 |
-
###
|
30 |
- [Stabilityai/Stable-Diffusion-2.1](https://huggingface.co/spaces/stabilityai/stable-diffusion)
|
31 |
- [runwayml/Stable-Diffusion-v1-5](https://huggingface.co/spaces/pujianto17/runwayml-stable-diffusion-v1-5)
|
32 |
- Anime Character Design with SD [(AI Mage)](https://aimage.xyz)
|
@@ -40,7 +41,7 @@ Compare with [Magicprompt](https://huggingface.co/spaces/Gustavosta/MagicPrompt-
|
|
40 |
|
41 |
with gr.Blocks() as demo:
|
42 |
gr.Markdown(title)
|
43 |
-
gr.Markdown("
|
44 |
gr.Markdown(description)
|
45 |
gr.Markdown(example)
|
46 |
gr.Markdown(co_create_magicprompt)
|
|
|
15 |
def generateimage2(query):
|
16 |
return query.replace(' ', '-') + '-chatgpt.png'
|
17 |
|
18 |
+
title = "# Unleash the power of Stable Diffusion with ChatGPT and conquer abstract prompts!"
|
19 |
|
20 |
description = """
|
21 |
Stable Diffusion struggles with unclear and vague prompts, but by harnessing the advanced reasoning capabilities of ChatGPT. We can generate detailed and descriptive prompts for improved and unparalleled generation results.
|
22 |
"""
|
23 |
|
24 |
example = """
|
25 |
+
### Note: we don't implement the ChatGPT and Stable Diffusion pipeline.
|
26 |
+
### Plase try the following prompts for [ChatGPT](https://chat.openai.com) to get ChatPrompt.:
|
27 |
- `Act as a professional character designer. Please generate prompts include detail appearance descriptions that related to the personality. Here's your first question: 'a gentle man':`
|
28 |
- `Please generate detailed prompts from abstract prompts. "a gentle man". Let's think step by step:`
|
29 |
|
30 |
+
### Then ChatPrompt on free SD spaces:
|
31 |
- [Stabilityai/Stable-Diffusion-2.1](https://huggingface.co/spaces/stabilityai/stable-diffusion)
|
32 |
- [runwayml/Stable-Diffusion-v1-5](https://huggingface.co/spaces/pujianto17/runwayml-stable-diffusion-v1-5)
|
33 |
- Anime Character Design with SD [(AI Mage)](https://aimage.xyz)
|
|
|
41 |
|
42 |
with gr.Blocks() as demo:
|
43 |
gr.Markdown(title)
|
44 |
+
gr.Markdown("![The concept of co-creative ChatPrompt and MagicPrompt](co-create-magic.png)")
|
45 |
gr.Markdown(description)
|
46 |
gr.Markdown(example)
|
47 |
gr.Markdown(co_create_magicprompt)
|