teddyllm commited on
Commit
ad24004
1 Parent(s): accf6ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def format_docs(docs):
18
 
19
 
20
  embeddings = NVIDIAEmbeddings(model="nvidia/nv-embedqa-mistral-7b-v2")
21
- db = FAISS.load_local("app/faiss_index", embeddings, allow_dangerous_deserialization=True)
22
  retriever = db.as_retriever()
23
  compressor = FlashrankRerank()
24
  compression_retriever = ContextualCompressionRetriever(
 
18
 
19
 
20
  embeddings = NVIDIAEmbeddings(model="nvidia/nv-embedqa-mistral-7b-v2")
21
+ db = FAISS.load_local("faiss_index", embeddings, allow_dangerous_deserialization=True)
22
  retriever = db.as_retriever()
23
  compressor = FlashrankRerank()
24
  compression_retriever = ContextualCompressionRetriever(