Spaces:
Runtime error
Runtime error
Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +3 -8
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM python:3.11
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
-
RUN apt-get update && apt-get install -y
|
| 5 |
|
| 6 |
RUN pip install --no-cache-dir \
|
| 7 |
torch torchaudio --index-url https://download.pytorch.org/whl/cpu
|
|
@@ -9,13 +9,8 @@ RUN pip install --no-cache-dir \
|
|
| 9 |
RUN pip install --no-cache-dir \
|
| 10 |
fastapi uvicorn \
|
| 11 |
huggingface_hub \
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
munch pyyaml nltk \
|
| 15 |
-
einops einops-exts \
|
| 16 |
-
transformers \
|
| 17 |
-
matplotlib \
|
| 18 |
-
git+https://github.com/resemble-ai/monotonic_align.git
|
| 19 |
|
| 20 |
COPY app.py .
|
| 21 |
EXPOSE 7860
|
|
|
|
| 1 |
FROM python:3.11
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
+
RUN apt-get update && apt-get install -y git ffmpeg
|
| 5 |
|
| 6 |
RUN pip install --no-cache-dir \
|
| 7 |
torch torchaudio --index-url https://download.pytorch.org/whl/cpu
|
|
|
|
| 9 |
RUN pip install --no-cache-dir \
|
| 10 |
fastapi uvicorn \
|
| 11 |
huggingface_hub \
|
| 12 |
+
soundfile \
|
| 13 |
+
transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
COPY app.py .
|
| 16 |
EXPOSE 7860
|