Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -301,7 +301,7 @@ vector_store_HF = Chroma(
|
|
301 |
embedding_function=embeddings_HuggingFace)
|
302 |
print("vector_store_HF:",vector_store_HF._collection.count(),"chunks.")
|
303 |
|
304 |
-
with open("
|
305 |
pickle.dump(vector_store_HF, f)
|
306 |
|
307 |
# Now we create the code to retrieve embeddings from the vectorstore (again, sticking with HF)
|
|
|
301 |
embedding_function=embeddings_HuggingFace)
|
302 |
print("vector_store_HF:",vector_store_HF._collection.count(),"chunks.")
|
303 |
|
304 |
+
with open("embeddings_NA.pkl", "wb") as f:
|
305 |
pickle.dump(vector_store_HF, f)
|
306 |
|
307 |
# Now we create the code to retrieve embeddings from the vectorstore (again, sticking with HF)
|