Installing and Deploying Dia-1.6B TTS from Source on Windows 10/11
Starting from v3.68, the F5-TTS configuration interface can be used for F5-TTS, Spark-TTS, index-TTS, and Dia-TTS. Simply enter the correct URL (usually http://127.0.0.1:7860 for local setup) and select the corresponding service from the dropdown menu.
1. Ensure Python 3.10 and Git Are Installed
If Python 3.10 is not installed, follow this tutorial to install it.
If Git is not installed, go to https://git-scm.com/downloads/win and click
64-bit Git for Windows Setupto download and install the executable.
2. Download the Source Code and Install
Navigate to a folder, type cmd in the address bar and press Enter, then run the following commands in order:
git clone https://github.com/nari-labs/dia.git
cd dia
python -m venv .venv
venv\scripts\activate
pip install -e .If no red error messages appear, the installation is complete.
3. Enable the WebUI
Go to the dia folder where you can see the app.py file. Type cmd in the address bar and press Enter, then run venv\scripts\activate to activate the virtual environment. Finally, execute the following command to start:
python app.py
If no errors occur, open your browser and go to http://127.0.0.1:7860.
