Commit
·
ff65140
1
Parent(s):
46d517e
Update ingest_data.py
Browse files- ingest_data.py +2 -2
ingest_data.py
CHANGED
@@ -29,6 +29,6 @@ return vector_file_path
|
|
29 |
def get_vectorstore():
|
30 |
vector_file_path = "vectorstore.pkl"
|
31 |
if os.path.isfile(vector_file_path):
|
32 |
-
|
33 |
else:
|
34 |
-
ingest_data(vector_file_path)
|
|
|
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:
|
34 |
+
return ingest_data(vector_file_path)
|