File size: 1,036 Bytes
9868c44
165abce
 
 
72f4e7a
9868c44
 
 
165abce
 
9868c44
 
0a639cb
 
 
 
 
 
 
 
165abce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0a639cb
 
165abce
 
 
 
0a639cb
 
 
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
46
47
---
title: Kokoro TTS Demo
emoji: πŸŽ™οΈ
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: mit
---

# 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.