Aabbhishekk commited on
Commit
b594f83
·
1 Parent(s): 0b9cee6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -14,9 +14,10 @@ llm = HuggingFaceHub(huggingfacehub_api_token=huggingfacehub_api_token,
14
  repo_id=repo_id,
15
  model_kwargs={"temperature":0.2, "max_new_tokens":200})
16
 
17
- template = """
18
- Answer the following question. At the end of the answer, just say, 'Thanks for asking'
19
- {question}
 
20
 
21
  """
22
  # input = st.text_input("What do you want to ask about", placeholder="Input your question here")
 
14
  repo_id=repo_id,
15
  model_kwargs={"temperature":0.2, "max_new_tokens":200})
16
 
17
+ template = """Give answer for the question.
18
+ question: {question}
19
+
20
+ At the end of the answer, just say, 'Thanks for asking'
21
 
22
  """
23
  # input = st.text_input("What do you want to ask about", placeholder="Input your question here")