Nithi123 commited on
Commit
7c921e6
1 Parent(s): 3d620c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ if st.button("Documents Embedding"):
63
 
64
  if prompt1:
65
  if "vectors" not in st.session_state:
66
- st.error("Vectors are not initialized. Please click 'Documents Embedding' first.")
67
  else:
68
  document_chain = create_stuff_documents_chain(llm, prompt)
69
  retriever = st.session_state.vectors.as_retriever()
 
63
 
64
  if prompt1:
65
  if "vectors" not in st.session_state:
66
+ st.error("Vectors Intialisation May Take Some Time.After Getting The message 'Vector Store DB is Ready' you get Fast Answers")
67
  else:
68
  document_chain = create_stuff_documents_chain(llm, prompt)
69
  retriever = st.session_state.vectors.as_retriever()