File size: 350 Bytes
df92b13
 
 
a13e407
39e3227
 
 
 
 
e399c85
 
a13e407
 
39e3227
df92b13
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.11

WORKDIR /app
RUN apt-get update && apt-get install -y git ffmpeg

RUN pip install --no-cache-dir \
    torch torchaudio --index-url https://download.pytorch.org/whl/cpu

RUN pip install --no-cache-dir \
    fastapi uvicorn \
    huggingface_hub \
    soundfile \
    transformers

COPY app.py .
EXPOSE 7860
CMD ["python", "app.py"]