mery22 commited on
Commit
9d68da3
1 Parent(s): 6a7d03a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -47,10 +47,7 @@ db = FAISS.from_documents(texts,
47
  HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L12-v2'))
48
 
49
 
50
- # Connect query to FAISS index using a retriever
51
- retriever = db.as_retriever(
52
- search_type="mmr",
53
- search_kwargs={'k': 1}
54
  retriever = db.as_retriever(
55
  search_type="mmr",
56
  search_kwargs={'k': 1}
 
47
  HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L12-v2'))
48
 
49
 
50
+
 
 
 
51
  retriever = db.as_retriever(
52
  search_type="mmr",
53
  search_kwargs={'k': 1}