Spaces:
Runtime error
A newer version of the Gradio SDK is available:
6.9.0
title: ChatTTS-WebUI
app_file: webui/main.py
sdk: gradio
sdk_version: 4.32.1
ChatTTS-WebUI
Project Introduction
This is an AI project that depends on the ChatTTS project. The project includes a web user interface that allows users to interact with the model through the interface.
If you find it useful, please give it a star.
Project Structure
my_ai_project/
โ
โโโ ChatTTS # Cloned directory of the ChatTTS project
โ โโโ ChatTTS
โ โโโ experimental
โ โโโ infer
โ โโโ model
โ โโโ utils
โโโ environment # Virtual environment directory, contains all dependencies
โโโ models # Model files directory
โ โโโ asset
โ โโโ config
โโโ outputs # Output files directory (e.g., logs, results, etc.)
โโโ webui # Web user interface code directory
โ โโโ main.py # Main entry file for the web user interface
โ โโโ ... # Other files related to the web user interface
โโโ install.bat # One-click installation script for installing and configuring the project
โโโ run_webui.bat # Script to start the web user interface
โโโ update.bat # Script to update the ChatTTS project
โโโ update_chatts.py # Python script to update the ChatTTS project
โโโ requirements.txt # Project dependencies file
Installation
Manual Installation
Install Conda: Download and install Miniconda or Anaconda from the Conda official website.
Clone this project:
git clone https://github.com/yuhaolove/ChatTTS-WebUI.gitCreate and activate a virtual environment:
cd ChatTTS-WebUI conda create -n chattts_webui python=3.12.3 conda activate chattts_webuiClone the ChatTTS repository:
cd ChatTTS-WebUI git clone https://github.com/2noise/ChatTTS.gitInstall ChatTTS dependencies:
cd ChatTTS pip install -r requirements.txt cd ..Install this project's WebUI dependencies:
pip install -r requirements.txt
One-click Installation Package on Windows
- Download and run the installation script:
Click here to download the one-click installation package.
Download
For first-time use, double-click or run
install.batin the command line. The installation will complete and directly start the webui. For subsequent use, just double-clickrun_webui.bat.
Start the WebUI
On Windows
Double-click or run run_webui.bat in the command line to start the Web user interface:
run_webui.bat
On Other Systems
Not tested yet, you can directly use Conda's Python to start it:
python webui/main.py
Manual Installation of Model Files
If you cannot download the HF model files smoothly, you can download them manually and place them in the corresponding directory.
Download model files: Go to the model download page to download the model files.
Place the files in the corresponding directory:
โโmodels โ โโasset โ โโconfig
Notes
- Make sure you have a stable network connection to download dependencies and clone repositories.
Contact
If you have any questions or need help, please contact [ๆตฉๅฅ่AI].

Support
If you find this project helpful, please consider giving some support. Your support will help me continue to develop and maintain this project, and bring more useful features and improvements.
You can also scan the following QR codes to support:
Acknowledgments
The names of all supporters (if willing to be public) will be recorded in the project's acknowledgment list. Thank you for your support!

