Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,12 +14,7 @@ llm = HuggingFaceHub(repo_id="suriya7/MaxMini-Instruct-248M",
|
|
14 |
})
|
15 |
|
16 |
|
17 |
-
template = """
|
18 |
-
previous chat:
|
19 |
-
{chat_history}
|
20 |
-
User:
|
21 |
-
{question}
|
22 |
-
Chatbot:"""
|
23 |
|
24 |
prompt = PromptTemplate(template=template,input_variables=['question','chat_history'])
|
25 |
|
|
|
14 |
})
|
15 |
|
16 |
|
17 |
+
template = """Please Answer the Question: previous chat: {chat_history}\nUser:{question}\nChatbot:"""
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
prompt = PromptTemplate(template=template,input_variables=['question','chat_history'])
|
20 |
|