Spaces:
Paused
Paused
Download Dockerfile from Ricky01anjay/dubbingAI: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/Ricky01anjay/dubbingAI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ricky01anjay/dubbingAI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ricky01anjay/dubbingAI/resolve/main/Dockerfile
553 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir \ | |
| flask \ | |
| werkzeug \ | |
| "moviepy<2.0.0" \ | |
| decorator \ | |
| openai-whisper \ | |
| edge-tts \ | |
| requests \ | |
| librosa \ | |
| numpy \ | |
| transformers \ | |
| torch \ | |
| librosa \ | |
| soundfile | |
| RUN python -c "import whisper; whisper.load_model('base')" | |
| COPY app.py . | |
| RUN mkdir -p uploads && chmod 777 uploads | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |