Spaces:
Running
on
T4
Running
on
T4
token
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -70,9 +70,9 @@ COPY --from=frontend /app/dist ./streaming-react-app/dist
|
|
70 |
|
71 |
WORKDIR $HOME/app/seamless_server
|
72 |
# temporary hack to link SeamlessStreaming models
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
huggingface-cli download meta-private/SeamlessExpressive pretssel_melhifigan_wm-final.pt --local-dir ./models/
|
77 |
USER root
|
78 |
RUN mkdir -p /large_experiments/seamless/ust/krs/fairseq2_checkpoints/ && \
|
|
|
70 |
|
71 |
WORKDIR $HOME/app/seamless_server
|
72 |
# temporary hack to link SeamlessStreaming models
|
73 |
+
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
74 |
+
huggingface-cli login --token $(cat /run/secrets/HF_TOKEN) && \
|
75 |
+
huggingface-cli download meta-private/SeamlessStreaming seamless_streaming_unity.pt spm_char_lang38_tc.model seamless_streaming_monotonic_decoder.pt --local-dir ./models/ && \
|
76 |
huggingface-cli download meta-private/SeamlessExpressive pretssel_melhifigan_wm-final.pt --local-dir ./models/
|
77 |
USER root
|
78 |
RUN mkdir -p /large_experiments/seamless/ust/krs/fairseq2_checkpoints/ && \
|