Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse filesReplace huggingface-cli with hf
- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -11,7 +11,7 @@ RUN pip install --no-cache-dir -r requirements.txt && \
|
|
| 11 |
|
| 12 |
ARG HF_TOKEN
|
| 13 |
RUN --mount=type=secret,id=HF_TOKEN \
|
| 14 |
-
|
| 15 |
|
| 16 |
COPY --chown=user . .
|
| 17 |
|
|
|
|
| 11 |
|
| 12 |
ARG HF_TOKEN
|
| 13 |
RUN --mount=type=secret,id=HF_TOKEN \
|
| 14 |
+
hf download "depth-anything/Depth-Anything-V2-Large-hf" --token $(cat /run/secrets/HF_TOKEN)
|
| 15 |
|
| 16 |
COPY --chown=user . .
|
| 17 |
|