File size: 1,105 Bytes
6d67517
 
 
 
 
 
 
 
 
 
 
 
 
a2218f5
13eb4ae
 
 
 
 
 
 
 
cb7f5d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13eb4ae
 
cb7f5d0
 
 
9a2b6d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
title: Kokoro TTS Zero
emoji: 🎴
colorFrom: gray
colorTo: purple
sdk: gradio
sdk_version: 5.10.0
app_file: app.py
pinned: true
short_description: Accelerated Text-To-Speech on Kokoro-82M
models:
- hexgrad/Kokoro-82M
---

# Kokoro TTS Demo Space

A Zero GPU-optimized Hugging Face Space for the Kokoro TTS model.
## Overview

This Space provides a Gradio interface for the Kokoro TTS model, allowing users to:
- Convert text to speech using multiple voices
- Adjust speech speed
## Project Structure

```
.
β”œβ”€β”€ app.py              # Main Gradio interface
β”œβ”€β”€ tts_model.py        # GPU-accelerated TTS model manager
β”œβ”€β”€ lib/                # Utility modules
β”‚   β”œβ”€β”€ __init__.py    # Package exports
β”‚   β”œβ”€β”€ text_utils.py  # Text processing utilities
β”‚   β”œβ”€β”€ file_utils.py  # File operations
β”‚   └── audio_utils.py # Audio processing
└── requirements.txt    # Project dependencies
```

## Dependencies

Main dependencies:
- PyTorch 2.2.2
- Gradio 5.9.1
- Transformers 4.47.1
- HuggingFace Hub β‰₯0.25.1

For a complete list, see requirements.txt.