Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -9,6 +9,12 @@ RUN apt update
|
|
9 |
RUN apt install -y git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg
|
10 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
ARG REF=main
|
13 |
RUN git clone https://github.com/huggingface/transformers && cd transformers && git checkout $REF
|
14 |
RUN python3 -m pip install --no-cache-dir -e ./transformers[dev-torch,testing,video]
|
|
|
9 |
RUN apt install -y git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg
|
10 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
11 |
|
12 |
+
|
13 |
+
# Get Rust
|
14 |
+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
15 |
+
|
16 |
+
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
|
17 |
+
|
18 |
ARG REF=main
|
19 |
RUN git clone https://github.com/huggingface/transformers && cd transformers && git checkout $REF
|
20 |
RUN python3 -m pip install --no-cache-dir -e ./transformers[dev-torch,testing,video]
|