Vageesh1 commited on
Commit
1171eea
·
1 Parent(s): 22c1126

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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(