Skip to content

Source Code Installation and Deployment of index-tts on Windows 10/11

From v3.68 onwards, the configuration interface of F5-TTS can be used for F5-TTS/Spark-TTS/index-TTS/Dia-TTS simultaneously. You only need to fill in the correct URL address (usually http://127.0.0.1:7860 for local use) and select the corresponding service from the dropdown list.

1. Install Conda

  1. Download Miniconda

  2. Install Miniconda

    • Double-click the downloaded file to open the installation window.

    • Click "Next" and agree to the license agreement ("I Agree").

    • Important: On the "Advanced Options" page, check Add Miniconda3 to my PATH environment variable. This allows you to use the conda command directly. Otherwise, you will encounter the error conda is not recognized as an internal or external command, operable program or batch file.

    • Note: Some computers might warn against adding it to PATH, but ignore the warning and check the box. This is a common pitfall for beginners. Without this, the commands won't work later.

  • Click "Install" and wait for a few minutes. Click "Finish" when done.

2. Download index-tts Source Code and Install Dependencies

Go to https://github.com/index-tts/index-tts, click the green Code button, and download the ZIP archive.

After downloading and extracting the ZIP file, navigate to the folder containing requirements.txt. Open requirements.txt and delete the last 2 lines:

WeTextProcessing; platform_machine != "Darwin"
wetext; platform_system == "Darwin"

Next, enter cmd in the folder's address bar and press Enter to open a command prompt. Execute the following commands one by one:

conda create -n index-tts python=3.10
conda activate index-tts
conda install -y -c conda-forge pynini==2.1.5
pip install WeTextProcessing==1.0.3
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
pip install -r requirements.txt

If there are no red error messages, the installation is successful.

3. Launch the Web UI

Make sure the virtual environment is activated: conda activate index-tts Then execute python webui.py. Open http://127.0.0.1:7860 in your browser.