Spaces:
Runtime error
Runtime error
Download Dockerfile from crazydev919/luhya-tts-api: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/crazydev919/luhya-tts-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/crazydev919/luhya-tts-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/crazydev919/luhya-tts-api/resolve/main/Dockerfile
350 Bytes
| 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"] | |