Spaces:
Runtime error
Runtime error
Commit
·
921fdfb
1
Parent(s):
176e452
Update main.py
Browse files
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'
|