Anish13 commited on
Commit
334676d
1 Parent(s): da3b02b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ model = HuggingFaceHub(
34
  task="conversational",
35
  model_kwargs={"temperature": 0.8, "max_length": 1000},
36
  )
37
- template = """Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer. Use three sentences maximum. Keep the answer as concise as possible. Always say "thanks for asking!" at the end of the answer.
38
  {context}
39
  Question: {question}
40
  Helpful Answer:"""
 
34
  task="conversational",
35
  model_kwargs={"temperature": 0.8, "max_length": 1000},
36
  )
37
+ template = """Answer the quesiton based on the given context.
38
  {context}
39
  Question: {question}
40
  Helpful Answer:"""