Spaces:
Runtime error
Runtime error
Update app/run.py
Browse files- app/run.py +1 -1
app/run.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
# Ensure the HF_HOME environment variable is set correctly
|
| 4 |
-
hf_cache_dir = os.getenv('HF_HOME', '/app/
|
| 5 |
|
| 6 |
# Ensure the directory exists
|
| 7 |
os.makedirs(hf_cache_dir, exist_ok=True)
|
|
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
# Ensure the HF_HOME environment variable is set correctly
|
| 4 |
+
hf_cache_dir = os.getenv('HF_HOME', '/app/cache')
|
| 5 |
|
| 6 |
# Ensure the directory exists
|
| 7 |
os.makedirs(hf_cache_dir, exist_ok=True)
|