GPT-SoVITS

(โ˜… 61,112)

1 min voice data can also be used to train a good TTS model! (few shot voice cloning)

  • .dockerignore
  • .gitignore
  • .pre-commit-config.yaml
  • api.py
  • api_v2.py
  • Colab-Inference.ipynb
  • Colab-WebUI.ipynb
  • config.py
  • docker-compose.yaml
  • docker_build.sh
  • Dockerfile
  • extra-req.txt
  • go-webui.bat
  • go-webui.ps1
  • install.ps1
  • install.sh
  • LICENSE
  • README.md
  • requirements.txt
  • webui.py

# Installation Guide

1. Get the code
git clone https://github.com/RVC-Boss/GPT-SoVITS

Downloads the entire project code from GitHub to your computer.

cd GPT-SoVITS

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • APT (Debian/Ubuntu ๊ณ„์—ด) Built into Debian/Ubuntu-based Linux distributions.
  • Homebrew A package manager for macOS/Linux.
sudo apt install ffmpeg

Installs directly from the APT package repository (Debian/Ubuntu-based).

sudo apt install libsox-dev

Installs directly from the APT package repository (Debian/Ubuntu-based).

brew install ffmpeg

Installs the pre-built package via Homebrew โ€” no source build required.

โœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose run --service-ports <GPT-SoVITS-CU126-Lite|GPT-SoVITS-CU128-Lite|GPT-SoVITS-CU126|GPT-SoVITS-CU128>

Runs the command against the services defined in the compose file.

docker exec -it <GPT-SoVITS-CU126-Lite|GPT-SoVITS-CU128-Lite|GPT-SoVITS-CU126|GPT-SoVITS-CU128> bash

Type this command into your terminal and run it.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

4. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r extra-req.txt --no-deps

Installs the Python libraries listed in requirements.txt (or similar).

pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

โœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation