ryanrwatkins commited on
Commit
df1c955
1 Parent(s): 28fddb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -23,7 +23,7 @@ import numpy as np
23
  from itertools import combinations
24
  import pypdf
25
  import requests
26
- import pickle
27
 
28
 
29
  # LLM: openai and google_genai
@@ -301,8 +301,6 @@ vector_store_HF = Chroma(
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)
308
 
 
23
  from itertools import combinations
24
  import pypdf
25
  import requests
26
+
27
 
28
 
29
  # LLM: openai and google_genai
 
301
  embedding_function=embeddings_HuggingFace)
302
  print("vector_store_HF:",vector_store_HF._collection.count(),"chunks.")
303
 
 
 
304
 
305
  # Now we create the code to retrieve embeddings from the vectorstore (again, sticking with HF)
306