Source Code Installation and Deployment of Dia-1.6B 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.
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, open the page https://git-scm.com/downloads/win and click
64-bit Git for Windows Setup
to download the exe installer.
Download Source Code and Install
Find a folder, type 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 error messages appear, the installation is complete.
Enable the Web UI
Navigate to the dia
folder where you can see the app.py
directory. In the address bar, type cmd
, then execute venv\scripts\activate
to activate the virtual environment. After that, execute the following command to start:
python app.py
If there are no errors, open http://127.0.0.1:7860
in your browser.