316usman commited on
Commit
42a9a2d
·
1 Parent(s): 78dc359

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} to answer 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}", summarize the {answers} in context of the question"""
86
  prompt = PromptTemplate(input_variables=["instruction","answers"], template=template)
87
 
88