ttsv2 / Dockerfile
dearhi's picture
Upload 3 files
cdd621f verified
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir gradio>=4.0.0 torch>=2.0.0 soundfile numpy
RUN pip install --no-cache-dir transformers>=4.40.0 accelerate>=0.30.0 sentencepiece
RUN pip install --no-cache-dir qwen-tts
COPY app.py .
EXPOSE 7860
CMD ["python", "app.py"]