Commit
·
c4d10a1
1
Parent(s):
8ab8c9a
Update ingest_data.py
Browse files- ingest_data.py +1 -2
ingest_data.py
CHANGED
@@ -26,8 +26,7 @@ def ingest_data(vector_file_path):
|
|
26 |
pickle.dump(vectorstore, f)
|
27 |
return vector_file_path
|
28 |
|
29 |
-
def get_vectorstore():
|
30 |
-
vector_file_path = "vectorstore.pkl"
|
31 |
if os.path.isfile(vector_file_path):
|
32 |
return vector_file_path
|
33 |
else:
|
|
|
26 |
pickle.dump(vectorstore, f)
|
27 |
return vector_file_path
|
28 |
|
29 |
+
def get_vectorstore(vector_file_path):
|
|
|
30 |
if os.path.isfile(vector_file_path):
|
31 |
return vector_file_path
|
32 |
else:
|