Update persona_alpha_1.py
Browse files- persona_alpha_1.py +2 -2
persona_alpha_1.py
CHANGED
|
@@ -92,10 +92,10 @@ def generate_detailed_text(gender, age_range, life_stage, education_level, job_t
|
|
| 92 |
def generate_prompt(persona_info):
|
| 93 |
messages_base = [
|
| 94 |
{"role": "user", "content": f"""
|
| 95 |
-
請你根據這個Persona的人物設定,幫我用英文給我用於AI生成 Sigma 85 mm f/1.4 headshot
|
| 96 |
|
| 97 |
一個名為29歲男性的Prompt範例:
|
| 98 |
-
29-year-old Taiwanese man, Sigma 85 mm f/1.4 headshot
|
| 99 |
人物設定:
|
| 100 |
{persona_info}"""}
|
| 101 |
]
|
|
|
|
| 92 |
def generate_prompt(persona_info):
|
| 93 |
messages_base = [
|
| 94 |
{"role": "user", "content": f"""
|
| 95 |
+
請你根據這個Persona的人物設定,幫我用英文給我用於AI生成 Sigma 85 mm f/1.4, headshot photographic portrait 的Prompt,必須盡可能簡短且凸顯主要人物特色,給我Prompt就好不要任何多餘的回答。
|
| 96 |
|
| 97 |
一個名為29歲男性的Prompt範例:
|
| 98 |
+
29-year-old Taiwanese man, Sigma 85 mm f/1.4, headshot photographic portrait, dynamic young professional - He has an energetic, innovative spirit as a tech company supervisor. He sports a smart-casual look typical for a tech enthusiast, likely in a neat, modern shirt and glasses. His face is friendly, with a bright smile and sharp, attentive eyes that reflect his keen interest in technology and leadership.
|
| 99 |
人物設定:
|
| 100 |
{persona_info}"""}
|
| 101 |
]
|