ArturG9 commited on
Commit
b0188c2
1 Parent(s): f77ca10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -42,10 +42,8 @@ def create_retriever_from_chroma(vectorstore_path="./docs/chroma/", search_type=
42
  )
43
 
44
 
45
- # Check if vectorstore exists
46
  if os.path.exists(vectorstore_path) and os.listdir(vectorstore_path):
47
- # Load the existing vectorstore
48
- st.write("Vector store exists and is loaded")
49
  vectorstore = Chroma(persist_directory=vectorstore_path,embedding_function=embeddings)
50
 
51
  else:
 
42
  )
43
 
44
 
45
+
46
  if os.path.exists(vectorstore_path) and os.listdir(vectorstore_path):
 
 
47
  vectorstore = Chroma(persist_directory=vectorstore_path,embedding_function=embeddings)
48
 
49
  else: