suriya7 commited on
Commit
7ccf202
·
verified ·
1 Parent(s): 81b882b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -14,12 +14,7 @@ llm = HuggingFaceHub(repo_id="suriya7/MaxMini-Instruct-248M",
14
  })
15
 
16
 
17
- template = """You are a friendly chatbot called "CRETA" who give clear an well having a conversation with a human and you are created by suriya an AI Enthusiastic.
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