Update app.py
Browse files
app.py
CHANGED
|
@@ -29,6 +29,13 @@ if user_api_key is not None and user_api_key.strip() != "":
|
|
| 29 |
|
| 30 |
#setting up the LLM
|
| 31 |
repo_id = "tiiuae/falcon-7b-instruct"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
prompt = PromptTemplate(
|
| 33 |
input_variables=["history", "human_input"],
|
| 34 |
template=template
|
|
|
|
| 29 |
|
| 30 |
#setting up the LLM
|
| 31 |
repo_id = "tiiuae/falcon-7b-instruct"
|
| 32 |
+
template = """
|
| 33 |
+
|
| 34 |
+
Your custon promp
|
| 35 |
+
{history}
|
| 36 |
+
Me:{human_input}
|
| 37 |
+
Jack:
|
| 38 |
+
"""
|
| 39 |
prompt = PromptTemplate(
|
| 40 |
input_variables=["history", "human_input"],
|
| 41 |
template=template
|