BraydenMoore commited on
Commit
54307f8
1 Parent(s): 30bdb6f
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -10,6 +10,9 @@ import random
10
  from pathlib import Path
11
  THIS_FOLDER = Path(__file__).parent.resolve()
12
 
 
 
 
13
  app = Flask(__name__)
14
  app.secret_key = 'pi-33pp-co-sk-33'
15
  app.template_folder = os.path.abspath(f'{THIS_FOLDER}/web/templates')
 
10
  from pathlib import Path
11
  THIS_FOLDER = Path(__file__).parent.resolve()
12
 
13
+ import os
14
+ os.environ["TRANSFORMERS_CACHE"] = "/tmp/transformers_cache/"
15
+
16
  app = Flask(__name__)
17
  app.secret_key = 'pi-33pp-co-sk-33'
18
  app.template_folder = os.path.abspath(f'{THIS_FOLDER}/web/templates')