Source Code Installation and Deployment of Dia-1.6B 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. Just fill in the correct URL (usually http://127.0.0.1:7860 on the local machine) and select the corresponding service from the dropdown list.
1. Ensure Python 3.10 and Git are Installed
If Python 3.10 is not installed, refer to this tutorial for installation
If Git is not installed, please open the page https://git-scm.com/downloads/win and click
64-bit Git for Windows Setup
to download the exe installer.
2. Download and Install the Source Code
Find a folder, enter cmd
in the address bar and press Enter. Then execute the following commands sequentially:
git clone https://github.com/nari-labs/dia.git
cd dia
python -m venv .venv
venv\scripts\activate
pip install -e .
If no red errors occur, the installation is complete.
3. Enable WebUI
Enter the dia
folder, where you can see the app.py
file. Enter cmd
in the address bar, then execute venv\scripts\activate
to activate the virtual environment, and then execute the following startup command:
python app.py
If no errors occur, open http://127.0.0.1:7860
in your browser.