Spaces:
Sleeping
Sleeping
change the faiss folder name
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from langchain_core.output_parsers import StrOutputParser
|
|
13 |
|
14 |
|
15 |
embedder = NVIDIAEmbeddings(model="nvolveqa_40k", model_type=None)
|
16 |
-
db = FAISS.load_local("
|
17 |
|
18 |
# docs = new_db.similarity_search(query)
|
19 |
|
|
|
13 |
|
14 |
|
15 |
embedder = NVIDIAEmbeddings(model="nvolveqa_40k", model_type=None)
|
16 |
+
db = FAISS.load_local("data_first_faiss_index", embedder, allow_dangerous_deserialization=True)
|
17 |
|
18 |
# docs = new_db.similarity_search(query)
|
19 |
|