GenAICoder commited on
Commit
7849b3b
1 Parent(s): a18bbab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -129,7 +129,7 @@ def embedding(chunk,query):
129
  retriever = db.as_retriever()
130
  chain = get_conversational_chain(retriever)
131
  response = chain.invoke(query)
132
- response_answer=response.split("Answer",-1)[-1]
133
  return response_answer
134
  #st.write("Reply: ", response["output_text"])
135
 
 
129
  retriever = db.as_retriever()
130
  chain = get_conversational_chain(retriever)
131
  response = chain.invoke(query)
132
+ response_answer=response.split("Answer:",-1)[-1]
133
  return response_answer
134
  #st.write("Reply: ", response["output_text"])
135