Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def load_vector_store(file_path, store_name, force_reload=False):
|
|
60 |
if not force_reload and os.path.exists(vector_store_path):
|
61 |
with open(vector_store_path, "rb") as f:
|
62 |
VectorStore = pickle.load(f)
|
63 |
-
st.text(f"Loaded existing vector store from {vector_store_path}")
|
64 |
else:
|
65 |
# Load and process the PDF, then create the vector store
|
66 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=200, length_function=len)
|
|
|
60 |
if not force_reload and os.path.exists(vector_store_path):
|
61 |
with open(vector_store_path, "rb") as f:
|
62 |
VectorStore = pickle.load(f)
|
63 |
+
#st.text(f"Loaded existing vector store from {vector_store_path}")
|
64 |
else:
|
65 |
# Load and process the PDF, then create the vector store
|
66 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=200, length_function=len)
|