Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,9 @@ from tempfile import NamedTemporaryFile
|
|
11 |
|
12 |
import tensorflow_hub as hub
|
13 |
|
|
|
|
|
|
|
14 |
|
15 |
movenet_model_path = '/models/movenet/movenet_lightning'
|
16 |
|
|
|
11 |
|
12 |
import tensorflow_hub as hub
|
13 |
|
14 |
+
# Ensure that Hugging Face uses the appropriate cache directory
|
15 |
+
os.environ['TRANSFORMERS_CACHE'] = '/app/cache'
|
16 |
+
os.environ['HF_HOME'] = '/app/cache'
|
17 |
|
18 |
movenet_model_path = '/models/movenet/movenet_lightning'
|
19 |
|