Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,21 +22,29 @@ Stable Diffusion struggles with unclear and vague prompts, but by harnessing the
|
|
22 |
"""
|
23 |
|
24 |
example = """
|
25 |
-
[ChatGPT](https://chat.openai.com) Prompt Examples:
|
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 |
-
- `Please generate prompt for character design. Let's think step by step: First, check the basic information. Then, generate prompt includes detail descriptions that related to the personality. Finally, summery the prompt in 30 words. Here's your first question: "a man who is the INFP of MBTI personality test":`
|
29 |
|
30 |
-
Try 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 |
-
- [AI Mage](https://aimage.xyz)
|
34 |
"""
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
with gr.Blocks() as demo:
|
37 |
gr.Markdown(title)
|
38 |
gr.Markdown(description)
|
39 |
gr.Markdown(example)
|
|
|
|
|
40 |
with gr.Row():
|
41 |
inpprompt = gr.Dropdown(list(dictionary.keys()), value=list(dictionary.keys())[0])
|
42 |
outprompt = gr.Textbox()
|
|
|
22 |
"""
|
23 |
|
24 |
example = """
|
25 |
+
### [ChatGPT](https://chat.openai.com) Prompt Examples:
|
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 |
+
### Try ChatPrompt on free SD spaces:
|
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)
|
33 |
"""
|
34 |
|
35 |
+
co_create_magicprompt = """
|
36 |
+
### Co-create with ChatPrompt and MagicPrompt.
|
37 |
+
Compare with [Magicprompt](https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion), we augment detail content prompts instead of visual prompts.
|
38 |
+
![The concept of co-creative ChatPrompt and MagicPrompt](co-create-magic.png)
|
39 |
+
"""
|
40 |
+
|
41 |
+
|
42 |
with gr.Blocks() as demo:
|
43 |
gr.Markdown(title)
|
44 |
gr.Markdown(description)
|
45 |
gr.Markdown(example)
|
46 |
+
gr.Markdown(co_create_magicprompt)
|
47 |
+
|
48 |
with gr.Row():
|
49 |
inpprompt = gr.Dropdown(list(dictionary.keys()), value=list(dictionary.keys())[0])
|
50 |
outprompt = gr.Textbox()
|