Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def main():
|
|
84 |
if st.button("Generate Answer"):
|
85 |
if query:
|
86 |
try:
|
87 |
-
answer, context = rag_chain
|
88 |
st.write(f"**Answer:** {answer}")
|
89 |
if show_context:
|
90 |
st.write(f"**Context:** {context}")
|
|
|
84 |
if st.button("Generate Answer"):
|
85 |
if query:
|
86 |
try:
|
87 |
+
answer, context = rag_chain(query)
|
88 |
st.write(f"**Answer:** {answer}")
|
89 |
if show_context:
|
90 |
st.write(f"**Context:** {context}")
|