Spaces:
Paused
Paused
Update app.py
Browse files
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}",
|
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 |
|