Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ llm = HuggingFaceHub(repo_id="suriya7/MaxMini-Instruct-248M",
|
|
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 |
|
|
|
14 |
})
|
15 |
|
16 |
|
17 |
+
template = """Please Answer the User Question and use the previous chat to know about the past conversation: previous chat: {chat_history}\nUser:{question}\nChatbot:"""
|
18 |
|
19 |
prompt = PromptTemplate(template=template,input_variables=['question','chat_history'])
|
20 |
|