Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def get_text_chunks(text:str) ->list:
|
|
| 48 |
|
| 49 |
def get_vectorstore(text_chunks : list) -> FAISS:
|
| 50 |
#model = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
|
| 51 |
-
model="
|
| 52 |
encode_kwargs = {
|
| 53 |
"normalize_embeddings": True
|
| 54 |
} # set True to compute cosine similarity
|
|
|
|
| 48 |
|
| 49 |
def get_vectorstore(text_chunks : list) -> FAISS:
|
| 50 |
#model = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
|
| 51 |
+
model="Avditvs/multilingual-e5-small-distill-base-0.1"
|
| 52 |
encode_kwargs = {
|
| 53 |
"normalize_embeddings": True
|
| 54 |
} # set True to compute cosine similarity
|