Spaces:
Running
Running
fix env
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -8,7 +8,7 @@ WORKDIR /home/user/app
|
|
8 |
|
9 |
RUN sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/sources.list && sed -i 's http://archive.ubuntu.com http://us-east-1.ec2.archive.ubuntu.com g' /etc/apt/sources.list && sed -i '/security/d' /etc/apt/sources.list && apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
|
10 |
|
11 |
-
RUN pip install --no-cache-dir Cython "gradio==3.28.3" "torch==1.10.1" jieba subword-nmt
|
12 |
|
13 |
RUN git clone --recurse-submodules https://github.com/thu-coai/DA-Transformer.git && cd DA-Transformer && git checkout demo && pip install -e . && cd dag_search && python3 setup.py build_ext --inplace && pip install -e . && cd ../..
|
14 |
|
|
|
8 |
|
9 |
RUN sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/sources.list && sed -i 's http://archive.ubuntu.com http://us-east-1.ec2.archive.ubuntu.com g' /etc/apt/sources.list && sed -i '/security/d' /etc/apt/sources.list && apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
|
10 |
|
11 |
+
RUN pip install --no-cache-dir Cython "gradio==3.28.3" "torch==1.10.1" jieba subword-nmt sacremoses
|
12 |
|
13 |
RUN git clone --recurse-submodules https://github.com/thu-coai/DA-Transformer.git && cd DA-Transformer && git checkout demo && pip install -e . && cd dag_search && python3 setup.py build_ext --inplace && pip install -e . && cd ../..
|
14 |
|