DrishtiSharma commited on
Commit
4a4703e
Β·
verified Β·
1 Parent(s): 6274487

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -74,8 +74,10 @@ with st.spinner("Creating vector store..."):
74
  embedding_function=embedding_model
75
  )
76
  vector_store.add_documents(documents)
 
 
 
77
 
78
- st.success("βœ… **Vector Store Created!**")
79
 
80
  # Step 5: Query Input
81
  query = st.text_input("πŸ” Enter a Query:")
 
74
  embedding_function=embedding_model
75
  )
76
  vector_store.add_documents(documents)
77
+ num_documents = len(vector_store.get()["documents"])
78
+
79
+ st.success(f"βœ… **Vector Store Created!** Total documents stored: {num_documents}")
80
 
 
81
 
82
  # Step 5: Query Input
83
  query = st.text_input("πŸ” Enter a Query:")