aymanemalih commited on
Commit
921fdfb
·
1 Parent(s): 176e452

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -9,7 +9,7 @@ from sentence_transformers import SentenceTransformer
9
  #model = SentenceTransformer('paraphrase-multilingual-MiniLM-L12-v2') # good so far
10
  #model = SentenceTransformer('sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2') # good so far
11
 
12
- model = SentenceTransformer('/code/vectorizing_model')
13
 
14
  # # # Set the environment variable TRANSFORMERS_CACHE to the writable directory
15
  # # os.environ['TRANSFORMERS_CACHE'] = '/app/sentence_transformers_cache'
 
9
  #model = SentenceTransformer('paraphrase-multilingual-MiniLM-L12-v2') # good so far
10
  #model = SentenceTransformer('sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2') # good so far
11
 
12
+ model = SentenceTransformer('/code/vectorizing_model', cache_folder='/')
13
 
14
  # # # Set the environment variable TRANSFORMERS_CACHE to the writable directory
15
  # # os.environ['TRANSFORMERS_CACHE'] = '/app/sentence_transformers_cache'