Spaces:
Runtime error
Runtime error
Commit ·
369dab9
1
Parent(s): 203afd5
ajdnfhjb
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -32,7 +32,7 @@ RUN mkdir -p /home/user/app/model_cache $HF_HUB_CACHE \
|
|
| 32 |
|
| 33 |
# 6) Télécharger le modèle au build-time sous l’utilisateur non-root
|
| 34 |
USER user
|
| 35 |
-
RUN
|
| 36 |
import os
|
| 37 |
from huggingface_hub import snapshot_download
|
| 38 |
snapshot_download(
|
|
|
|
| 32 |
|
| 33 |
# 6) Télécharger le modèle au build-time sous l’utilisateur non-root
|
| 34 |
USER user
|
| 35 |
+
RUN python3 - <<EOF
|
| 36 |
import os
|
| 37 |
from huggingface_hub import snapshot_download
|
| 38 |
snapshot_download(
|