Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ folder = snapshot_download(repo_id="umaiku/faiss_index", repo_type="dataset", lo
|
|
23 |
|
24 |
embeddings = HuggingFaceEmbeddings(model_name="intfloat/multilingual-e5-small")
|
25 |
|
26 |
-
vector_db = FAISS.load_local("
|
27 |
|
28 |
df = pd.read_csv("faiss_index/bger_cedh_db 1954-2024.csv")
|
29 |
|
|
|
23 |
|
24 |
embeddings = HuggingFaceEmbeddings(model_name="intfloat/multilingual-e5-small")
|
25 |
|
26 |
+
vector_db = FAISS.load_local("faiss_index_8k", embeddings, allow_dangerous_deserialization=True)
|
27 |
|
28 |
df = pd.read_csv("faiss_index/bger_cedh_db 1954-2024.csv")
|
29 |
|