--- 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)