Source Code Installation and Deployment of index-tts on Windows 10/11
Starting from v3.68, the configuration interface for F5-TTS can also be used for F5-TTS/Spark-TTS/index-TTS/Dia-TTS. You just need to fill in the correct URL address (usually http://127.0.0.1:7860 for local machine) and select the corresponding service from the dropdown list.
First, Install Conda Software
Download Miniconda
Open your browser, enter this URL, and press Enter: https://www.anaconda.com/download/success#miniconda
Scroll down, find the "Miniconda" section, click the download link for Windows, or use this direct link: https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
The file will be saved to your "Downloads" folder (e.g.,
C:\Users\YourUsername\Downloads
), with a filename likeMiniconda3-latest-Windows-x86_64.exe
.
Install Miniconda
Double-click the downloaded file to open the installation window.
Click "Next", agree to the license agreement (click "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 errorconda is not recognized as an internal or external command, operable program or batch file.
Note: Some systems might warn against adding it to PATH. Ignore the warning and check the box. This is a common pitfall for beginners; if you don't check it, you won't be able to use the commands later.
* Click "Install", wait a few minutes, and then click "Finish" when done.
Download index-tts Source Code and Install Dependencies
Go to this address: https://github.com/index-tts/index-tts , click the green Code
button, and download the ZIP archive.
After downloading, unzip the archive. Navigate into the folder containing requirements.txt
, open it, and delete the last 2 lines:
WeTextProcessing; platform_machine != "Darwin"
wetext; platform_system == "Darwin"
Next, in the folder's address bar, type cmd
and press Enter. Then, execute the following commands sequentially:
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 no red error messages appear, the installation was successful.
Start the Web UI
Ensure the virtual environment is activated: conda activate index-tts
Then execute python webui.py
, and open http://127.0.0.1:7860
in your browser.