https://github.com/vpakarinen/kokoro-tts-webui
WebUI for kokoro tts.
https://github.com/vpakarinen/kokoro-tts-webui
ai gradio kokoro-tts ml onnx python3 text-to-speech tts
Last synced: 8 months ago
JSON representation
WebUI for kokoro tts.
- Host: GitHub
- URL: https://github.com/vpakarinen/kokoro-tts-webui
- Owner: vpakarinen
- License: mit
- Created: 2025-03-30T11:19:44.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-31T12:11:52.000Z (8 months ago)
- Last Synced: 2025-03-31T12:35:07.076Z (8 months ago)
- Topics: ai, gradio, kokoro-tts, ml, onnx, python3, text-to-speech, tts
- Language: Python
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kokoro TTS Web UI
A simple web user interface for Kokoro Text-to-Speech using Gradio.

## Installation
1. Clone this repository
```bash
git clone https://github.com/vpakarinen/kokoro-tts-webui.git
cd kokoro-tts-webui
```
2. Create and activate virtual environment:
```bash
python -m venv kokoro-env
# Windows
.\kokoro-env\Scripts\activate
# Linux/macOS
source kokoro-env/bin/activate
```
3. Install the required packages:
```bash
pip install -r requirements.txt
```
4. Run the application:
```bash
python app.py
```
## Troubleshooting
### Encoding Issues
If you encounter a `UnicodeDecodeError`, it's likely due to encoding issues with the kokoro-onnx library.
You can run the application with the UTF-8 flag:
```bash
python -X utf8 app.py
```
## Required Files
The application will automatically download the following files if they don't exist:
- kokoro-v1.0.onnx (model file)
- voices-v1.0.bin (voices data)
## Sponsor
If you find this project useful, consider supporting me:
[](https://www.buymeacoffee.com/vpakarinen)
[](https://ko-fi.com/vpakarinen)
## Credits
This project uses the [kokoro-onnx](https://github.com/thewh1teagle/kokoro-onnx) library for text-to-speech functionality.
## Author
vpakarinen (https://github.com/vpakarinen)