wu981526092
commited on
Commit
·
8582191
1
Parent(s):
daa28cb
add
Browse files
app.py
CHANGED
@@ -69,14 +69,14 @@ def generate_prompt_from_profile(profile, version="TestTakersSummary"):
|
|
69 |
bio_section = "\n".join(
|
70 |
[f"- {k.replace('_', ' ').title()}: {v}" for k, v in profile['bio_information'].items()])
|
71 |
main_profile_section = "\n".join(
|
72 |
-
[f"- {trait.title()}: {details['score']}
|
73 |
profile['main_profile'].items()])
|
74 |
red_flags_section = "\n".join(
|
75 |
-
[f"- {trait.title()}: {details['score']}
|
76 |
profile['red_flag'].items()])
|
77 |
|
78 |
motivation_section = "\n".join(
|
79 |
-
[f"- {trait.title()}: {details['score']}
|
80 |
profile['motivation'].items()])
|
81 |
|
82 |
# Replacing placeholders in the prompts
|
|
|
69 |
bio_section = "\n".join(
|
70 |
[f"- {k.replace('_', ' ').title()}: {v}" for k, v in profile['bio_information'].items()])
|
71 |
main_profile_section = "\n".join(
|
72 |
+
[f"- {trait.title()}: {details['score']}" for trait, details in
|
73 |
profile['main_profile'].items()])
|
74 |
red_flags_section = "\n".join(
|
75 |
+
[f"- {trait.title()}: {details['score']}" for trait, details in
|
76 |
profile['red_flag'].items()])
|
77 |
|
78 |
motivation_section = "\n".join(
|
79 |
+
[f"- {trait.title()}: {details['score']}" for trait, details in
|
80 |
profile['motivation'].items()])
|
81 |
|
82 |
# Replacing placeholders in the prompts
|