hatimanees commited on
Commit
3eaffbe
·
verified ·
1 Parent(s): caa5a42

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -0
run.py CHANGED
@@ -8,6 +8,8 @@ import re
8
  from werkzeug.utils import secure_filename
9
  import uuid
10
 
 
 
11
 
12
  class Config:
13
  UPLOAD_FOLDER = os.path.join(os.path.dirname(__file__), 'uploads') # Correct path
 
8
  from werkzeug.utils import secure_filename
9
  import uuid
10
 
11
+ import os
12
+ os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'
13
 
14
  class Config:
15
  UPLOAD_FOLDER = os.path.join(os.path.dirname(__file__), 'uploads') # Correct path