Spaces:
Paused
Paused
Download Dockerfile from imseldrith/dantts: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/spaces/imseldrith/dantts/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/imseldrith/dantts/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/imseldrith/dantts/resolve/main/Dockerfile
359 Bytes
| FROM continuumio/miniconda3 | |
| RUN apt update && apt install espeak-ng ffmpeg -y | |
| WORKDIR /root | |
| ADD ./requirements.txt . | |
| RUN pip install -r requirements.txt | |
| ADD ./src . | |
| RUN python -m nltk.downloader punkt | |
| RUN echo 'from bark import preload_models \n\ | |
| preload_models()' >> install_bark.py | |
| RUN chmod -R 755 /root | |
| RUN python install_bark.py | |
| CMD ["python", "main.py"] |