ali121300 commited on
Commit
0fc5b49
1 Parent(s): 172ff2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ def get_text_chunks(text:str) ->list:
38
 
39
 
40
  def get_vectorstore(text_chunks : list) -> FAISS:
41
- model = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
 
42
  encode_kwargs = {
43
  "normalize_embeddings": True
44
  } # set True to compute cosine similarity
 
38
 
39
 
40
  def get_vectorstore(text_chunks : list) -> FAISS:
41
+ #model = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
42
+ model="paraphrase-distilroberta-base-v1"
43
  encode_kwargs = {
44
  "normalize_embeddings": True
45
  } # set True to compute cosine similarity