Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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}
|