Spaces:
Sleeping
Sleeping
Download Dockerfile from userhugginggit/generaqtts: direct link, hf CLI and curl.
- Browser
- Download file 613 Bytes
-
https://huggingface.co/spaces/userhugginggit/generaqtts/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/userhugginggit/generaqtts/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/userhugginggit/generaqtts/resolve/main/Dockerfile
613 Bytes
| FROM python:3.10-slim | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV MODEL_CACHE_SIZE=1 | |
| ENV ACTIVE_MODELS="Qwen/Qwen3-TTS-12Hz-0.6B-Base,Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice" | |
| ENV HOME=/tmp | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| git ffmpeg libsndfile1 sox build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY . /app | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r requirements.txt | |
| EXPOSE 7860 | |
| # EL CAMBIO IMPORTANTE: Espacio después de CMD | |
| CMD ["python3", "server.py", "--host", "0.0.0.0", "--port", "7860"] |