KvrParaskevi
commited on
Commit
•
986770e
1
Parent(s):
93eeaf7
Update app.py
Browse files
app.py
CHANGED
@@ -45,9 +45,7 @@ def chat_template_prompt():
|
|
45 |
"""
|
46 |
|
47 |
system_prompt = SystemMessagePromptTemplate.from_template(template)
|
48 |
-
human_prompt = HumanMessagePromptTemplate.from_template("""
|
49 |
-
user's input and you generate a response only for the assistant.
|
50 |
-
{input}""")
|
51 |
chat_prompt = ChatPromptTemplate.from_messages([system_prompt, human_prompt])
|
52 |
return chat_prompt
|
53 |
|
|
|
45 |
"""
|
46 |
|
47 |
system_prompt = SystemMessagePromptTemplate.from_template(template)
|
48 |
+
human_prompt = HumanMessagePromptTemplate.from_template("""{input}""")
|
|
|
|
|
49 |
chat_prompt = ChatPromptTemplate.from_messages([system_prompt, human_prompt])
|
50 |
return chat_prompt
|
51 |
|