radames HF staff commited on
Commit
54ef705
1 Parent(s): 4a67689
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -71,6 +71,7 @@ COPY --from=frontend /app/dist ./streaming-react-app/dist
71
  WORKDIR $HOME/app/seamless_server
72
  # temporary hack to link SeamlessStreaming models
73
  ARG HF_TOKEN
 
74
  RUN huggingface-cli download meta-private/SeamlessStreaming seamless_streaming_unity.pt spm_char_lang38_tc.model seamless_streaming_monotonic_decoder.pt --local-dir ./models/ && \
75
  huggingface-cli download meta-private/SeamlessExpressive pretssel_melhifigan_wm-final.pt --local-dir ./models/
76
  USER root
 
71
  WORKDIR $HOME/app/seamless_server
72
  # temporary hack to link SeamlessStreaming models
73
  ARG HF_TOKEN
74
+ ENV HF_TOKEN=$HF_TOKEN
75
  RUN 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