Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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 = {
|