316usman commited on
Commit
98ee7eb
·
1 Parent(s): 43a7dd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ if st.session_state["model_loaded"]:
82
  query = st.text_area("Query Text", height=150)
83
  show_documents = st.checkbox("Show Retrieved Documents")
84
  # Set-up the Template
85
- template = """Given the question "{instruction}" and it's relevant answers as "{answers}", summarize the {answers} in context of the question"""
86
  prompt = PromptTemplate(input_variables=["instruction","answers"], template=template)
87
 
88
 
 
82
  query = st.text_area("Query Text", height=150)
83
  show_documents = st.checkbox("Show Retrieved Documents")
84
  # Set-up the Template
85
+ template = """Given the question "{instruction}" and it's relevant answers as "{answers}", answer the question using the {answers} only"""
86
  prompt = PromptTemplate(input_variables=["instruction","answers"], template=template)
87
 
88