aymanemalih commited on
Commit
d1f90c2
·
1 Parent(s): 367370b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -4,6 +4,8 @@ from flask_cors import CORS
4
  import openai
5
  import qdrant_client
6
  from sentence_transformers import SentenceTransformer, util
 
 
7
 
8
  # Set the cache folder to a writable directory
9
  util.cache_folder = '/path'
 
4
  import openai
5
  import qdrant_client
6
  from sentence_transformers import SentenceTransformer, util
7
+ import os
8
+ os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'
9
 
10
  # Set the cache folder to a writable directory
11
  util.cache_folder = '/path'