Bhanushray commited on
Commit
63a2973
Β·
verified Β·
1 Parent(s): 695b0c9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -21,6 +21,9 @@ os.makedirs(UPLOAD_FOLDER, exist_ok=True)
21
  os.environ["TMPDIR"] = bio_model_dir
22
  os.environ["TEMP"] = bio_model_dir
23
  os.environ["TMP"] = bio_model_dir
 
 
 
24
 
25
  # πŸ”— Dropbox Links for Model Files
26
  DROPBOX_LINKS = {
 
21
  os.environ["TMPDIR"] = bio_model_dir
22
  os.environ["TEMP"] = bio_model_dir
23
  os.environ["TMP"] = bio_model_dir
24
+ os.environ["NUMBA_CACHE_DIR"] = "/app/cache/numba"
25
+ os.environ["TRANSFORMERS_CACHE"] = "/app/cache/huggingface"
26
+
27
 
28
  # πŸ”— Dropbox Links for Model Files
29
  DROPBOX_LINKS = {