himel06 commited on
Commit
0b0e325
1 Parent(s): f88772c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.get_response(query)
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}")