Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -7,7 +7,8 @@ WORKDIR /code
|
|
| 7 |
# Set environment variables to tell Hugging Face libraries where to cache models.
|
| 8 |
ENV HF_HOME=/code/cache
|
| 9 |
ENV HF_HUB_CACHE=/code/cache
|
| 10 |
-
|
|
|
|
| 11 |
|
| 12 |
# --- FIX FOR PERMISSION ERROR v2 ---
|
| 13 |
# Create the cache directory AND give it open write permissions for all users.
|
|
|
|
| 7 |
# Set environment variables to tell Hugging Face libraries where to cache models.
|
| 8 |
ENV HF_HOME=/code/cache
|
| 9 |
ENV HF_HUB_CACHE=/code/cache
|
| 10 |
+
# Deprecated but harmless
|
| 11 |
+
ENV TRANSFORMERS_CACHE=/code/cache
|
| 12 |
|
| 13 |
# --- FIX FOR PERMISSION ERROR v2 ---
|
| 14 |
# Create the cache directory AND give it open write permissions for all users.
|