Spaces:
Running
Running
File size: 581 Bytes
70d5462 85192e2 70d5462 85192e2 70d5462 ced2dc7 9986dc0 70d5462 ced2dc7 70d5462 ced2dc7 70d5462 85192e2 | 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 | ---
title: Kokoro CPU TTS
emoji: 🎤
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 6.2.0
app_file: app.py
pinned: false
---
# Kokoro TTS CPU Space
This Space runs `onnx-community/Kokoro-82M-v1.0-ONNX` using **CPU only** for text-to-speech.
## How to use
Once the Space builds:
- enter text
- select a voice
- click **Generate**
- receive WAV audio output
## API usage
### Python
```python
from gradio_client import Client
client = Client("YOUR_USERNAME/YOUR_SPACE_NAME")
wav_path = client.predict("Hello from API", "af_bella", 1.0, api_name="/tts")
print(wav_path) |