Spaces:
Running
Running
File size: 1,135 Bytes
f2081ca d27fa71 9b1aef8 f2081ca 9b1aef8 f2081ca 9b1aef8 | 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 | ---
title: KittenTTS WebGPU
emoji: π±
colorFrom: purple
colorTo: indigo
sdk: static
pinned: false
license: apache-2.0
---
# KittenTTS WebGPU
Text-to-speech running entirely in your browser via WebGPU/WASM. No server needed.
## Credits
- **Models**: [KittenML](https://huggingface.co/KittenML) β ultra-lightweight TTS models based on StyleTTS 2
- **Original Demo**: [KittenTTS-Demo](https://huggingface.co/spaces/KittenML/KittenTTS-Demo)
- **Transformers.js v4**: [huggingface/transformers.js](https://github.com/huggingface/transformers.js) β ML inference in the browser
- **phonemizer.js**: [xenova/phonemizer.js](https://github.com/xenova/phonemizer.js) β eSpeak-NG phonemization for the web by [Xenova](https://github.com/xenova)
- **ONNX Runtime Web**: [onnxruntime](https://onnxruntime.ai) β cross-platform ML inference
- **Kokoro Web**: [xenova/kokoro-web](https://github.com/xenova/kokoro-web) β reference implementation for browser TTS
## Development
```bash
npm install
npm run dev
```
## Build
```bash
npm run build
```
Output goes to `dist/` β deploy as a static HuggingFace Space or any static host.
|