Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -7,9 +7,8 @@ COPY requirements.txt .
|
|
| 7 |
RUN pip install -r requirements.txt
|
| 8 |
|
| 9 |
# Pré-télécharger le modèle PENDANT le build (accès réseau autorisé)
|
| 10 |
-
|
| 11 |
-
RUN python
|
| 12 |
-
RUN python -c "Qwen2VLForConditionalGeneration.from_pretrained('Qwen/Qwen2-VL-7B-Instruct', torch_dtype='auto')"
|
| 13 |
|
| 14 |
COPY . .
|
| 15 |
|
|
|
|
| 7 |
RUN pip install -r requirements.txt
|
| 8 |
|
| 9 |
# Pré-télécharger le modèle PENDANT le build (accès réseau autorisé)
|
| 10 |
+
COPY download_model.py .
|
| 11 |
+
RUN python download_model.py
|
|
|
|
| 12 |
|
| 13 |
COPY . .
|
| 14 |
|