Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,13 +19,15 @@ trait_content_df['Title'].fillna(method='ffill',inplace=True)
|
|
19 |
trait_content_df['Question'].fillna(method='ffill',inplace=True)
|
20 |
|
21 |
template = """
|
22 |
-
Imagine you're someone looking to create a unique personalized bio based on your traits and experiences. You've shared some details about your background, and now it's time to craft a bio that stands out. Respond in the second person and avoid using the same sentences for different users. Your response should be concise and conclude within 150 words.
|
23 |
|
24 |
{history}
|
25 |
You: {human_input}
|
26 |
Bot:
|
27 |
|
28 |
[CHARACTER_LIMIT=150]
|
|
|
|
|
29 |
"""
|
30 |
|
31 |
prompt = PromptTemplate(
|
|
|
19 |
trait_content_df['Question'].fillna(method='ffill',inplace=True)
|
20 |
|
21 |
template = """
|
22 |
+
Imagine you're someone looking to create a unique personalized bio based on your traits and experiences. You've shared some details about your background, and now it's time to craft a bio that stands out. Respond in the second person and avoid using the same sentences for different users. Your response should be concise and conclude within 150 words, divided into three roughly equal paragraphs.
|
23 |
|
24 |
{history}
|
25 |
You: {human_input}
|
26 |
Bot:
|
27 |
|
28 |
[CHARACTER_LIMIT=150]
|
29 |
+
[PARAGRAPH]
|
30 |
+
[PARAGRAPH]
|
31 |
"""
|
32 |
|
33 |
prompt = PromptTemplate(
|