Spaces:
Running
Running
Update prompt_gen.py
Browse files- prompt_gen.py +3 -4
prompt_gen.py
CHANGED
@@ -28,10 +28,9 @@ def prompt_gen(advise, gender):
|
|
28 |
{"role": "system",
|
29 |
"content": "You are a helpful assistant.",},
|
30 |
{"role": "user",
|
31 |
-
"content": advise + "
|
32 |
-
"
|
33 |
-
"号间隔,再加上‘, white background’, 再然后换行后以'End'
|
34 |
-
"‘服饰风格介绍’为开头后换行,再以介绍的口吻总结输出所有的中文描述。" + prompt,
|
35 |
}
|
36 |
]
|
37 |
|
|
|
28 |
{"role": "system",
|
29 |
"content": "You are a helpful assistant.",},
|
30 |
{"role": "user",
|
31 |
+
"content": advise + "根据上述建议,从以下prompt库中的触发词、种类、上衣、裙子、领子、袖子、袖口、腰饰、裙子详述中每个挑选一个词,分点描述,触发"
|
32 |
+
"词固定选择为" + trigger + ",然后在最下面列出所有Prompt,以‘Begin’为开头后换行, 输出所有英文描述,用逗"
|
33 |
+
"号间隔,再加上‘, white background’, 再然后换行后以'End'结尾。prompt库如下:" + prompt,
|
|
|
34 |
}
|
35 |
]
|
36 |
|