Spaces:
Build error
Build error
Download start-docker.sh from jailen/tortoise-base: direct link, hf CLI and curl.
- Browser
- Download file 463 Bytes
-
https://huggingface.co/spaces/jailen/tortoise-base/resolve/main/start-docker.sh
- Command line
-
hf download hf://spaces/jailen/tortoise-base/start-docker.sh
-
curl -L -o start-docker.sh https://huggingface.co/spaces/jailen/tortoise-base/resolve/main/start-docker.sh
463 Bytes
| CMD="python3 ./src/main.py $@" | |
| # CMD="bash" | |
| CPATH="/home/user/ai-voice-cloning" | |
| docker run --rm --gpus all \ | |
| --mount "type=bind,src=$PWD/models,dst=$CPATH/models" \ | |
| --mount "type=bind,src=$PWD/training,dst=$CPATH/training" \ | |
| --mount "type=bind,src=$PWD/voices,dst=$CPATH/voices" \ | |
| --mount "type=bind,src=$PWD/bin,dst=$CPATH/bin" \ | |
| --workdir $CPATH \ | |
| --user "$(id -u):$(id -g)" \ | |
| --net host \ | |
| -it ai-voice-cloning $CMD | |