logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
How to install iszhanjiawei/indexTTS2. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

iszhanjiawei/indexTTS2 Installation Guide

How to install iszhanjiawei/indexTTS2. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for iszhanjiawei/indexTTS2. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i iszhanjiawei/indexTTS2
or

Install via npx

npx @hexmos/ipm i iszhanjiawei/indexTTS2

Prerequisites

conda

environment manager

Version: >=4.10

python

programming language

Version: 3.10

pip

package installer

git

version control system

wget

utility

huggingface-cli

tool

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Environment Setup

git clone https://github.com/index-tts/index-tts.git

cd index-tts

conda create -n indextts2 python=3.10

conda activate indextts2

pip install -r requirements.txt

Download Models (using huggingface-cli)

huggingface-cli download IndexTeam/IndexTTS-1.5 --local-dir checkpoints

Download Models (using wget)

mkdir -p checkpoints

wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/bigvgan_discriminator.pth -P checkpoints

wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/bigvgan_generator.pth -P checkpoints

wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/bpe.model -P checkpoints

wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/dvae.pth -P checkpoints

wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/gpt.pth -P checkpoints

wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/unigram_12000.vocab -P checkpoints

wget https://huggingface.co/IndexTeam/IndexTTS-1.5/resolve/main/config.yaml -P checkpoints

Use as Command Line Tool

pip install -e .

indextts "大家好,我现在正在bilibili 体验 ai 科技,说实话,来之前我绝对想不到!AI技术已经发展到这样匪夷所思的地步了!" --voice reference_voice.wav --model_dir checkpoints --config checkpoints/config.yaml --output output.wav

indextts --help

Web UI Setup

pip install -e "[webui]"

python webui.py

Windows Specific Installation (for pynini)

conda activate indextts2

conda install -c conda-forge pynini==2.1.5

pip install WeTextProcessing==1.0.3

pip install -e "[webui]"