Spaces:
Runtime error
Runtime error
Clean up Dockerfile (#6)
Browse files- Clean up Dockerfile (a2ef684108fc8d77272a333b8d74cff6aff81808)
Co-authored-by: hysts <[email protected]>
- Dockerfile +1 -9
- requirements.txt +2 -0
Dockerfile
CHANGED
@@ -42,15 +42,7 @@ RUN pyenv install ${PYTHON_VERSION} && \
|
|
42 |
pyenv rehash && \
|
43 |
pip install --no-cache-dir -U pip setuptools wheel
|
44 |
|
45 |
-
|
46 |
-
pip install --extra-index-url https://test.pypi.org/simple/ fairseq2==0.1.0rc0
|
47 |
-
RUN git clone https://github.com/facebookresearch/seamless_communication && \
|
48 |
-
cd seamless_communication && \
|
49 |
-
pip install . && \
|
50 |
-
cd .. && \
|
51 |
-
rm -rf seamless_communication
|
52 |
-
|
53 |
-
COPY ./requirements.txt /tmp/requirements.txt
|
54 |
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt
|
55 |
|
56 |
COPY --chown=1000 . ${HOME}/app
|
|
|
42 |
pyenv rehash && \
|
43 |
pip install --no-cache-dir -U pip setuptools wheel
|
44 |
|
45 |
+
COPY --chown=1000 ./requirements.txt /tmp/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt
|
47 |
|
48 |
COPY --chown=1000 . ${HOME}/app
|
requirements.txt
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
gradio==3.40.1
|
2 |
huggingface_hub==0.16.4
|
3 |
torch==2.0.1
|
|
|
1 |
+
fairseq2==0.1.0
|
2 |
+
git+https://github.com/facebookresearch/seamless_communication
|
3 |
gradio==3.40.1
|
4 |
huggingface_hub==0.16.4
|
5 |
torch==2.0.1
|