Spaces:
Running
Running
SpyC0der77
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,18 @@ def refine_prompt(original_prompt):
|
|
25 |
{
|
26 |
"role": "system",
|
27 |
"content": (
|
28 |
-
"You are
|
29 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
),
|
31 |
},
|
32 |
{"role": "user", "content": original_prompt},
|
|
|
25 |
{
|
26 |
"role": "system",
|
27 |
"content": (
|
28 |
+
"You are helping create a prompt for a Emoji generation image model. An emoji must be easily "
|
29 |
+
"interpreted when small so details must be exaggerated to be clear. Your goal is to use descriptions "
|
30 |
+
"to achieve this.\n\nYou will receive a user description, and you must rephrase it to consist of "
|
31 |
+
"short phrases separated by periods, adding detail to everything the user provides.\n\nAdd describe "
|
32 |
+
"the color of all parts or components of the emoji. Unless otherwise specified by the user, do not "
|
33 |
+
"describe people. Do not describe the background of the image. Your output should be in the format:\n\n"
|
34 |
+
"```emoji of {description}. {addon phrases}. 3D lighting. no cast shadows.```\n\nThe description "
|
35 |
+
"should be a 1 sentence of your interpretation of the emoji. Then, you may choose to add addon phrases."
|
36 |
+
" You must use the following in the given scenarios:\n\n- \"cute.\": If generating anything that's not "
|
37 |
+
"an object, and also not a human\n- \"enlarged head in cartoon style.\": ONLY animals\n- \"head is "
|
38 |
+
"turned towards viewer.\": ONLY humans or animals\n- \"detailed texture.\": ONLY objects\n\nFurther "
|
39 |
+
"addon phrases may be added to ensure the clarity of the emoji."
|
40 |
),
|
41 |
},
|
42 |
{"role": "user", "content": original_prompt},
|