Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.44.1
metadata
title: KittenTTS - High Quality Text-to-Speech
emoji: π€
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.41.1
app_file: app_minimal.py
pinned: false
license: mit
π€ KittenTTS - High Quality Text-to-Speech
A Hugging Face Space showcasing the KittenTTS model for high-quality text-to-speech generation.
π Features
- 8 Different Voices: 4 male and 4 female voices to choose from
- High Quality Audio: 24kHz sample rate for crisp, clear speech
- GPU-Free: Works without requiring a GPU
- Easy-to-Use Interface: Simple and intuitive Gradio web interface
- Real-time Generation: Fast speech synthesis with progress tracking
π΅ Available Voices
Voice ID | Gender | Description |
---|---|---|
expr-voice-2-m |
Male | Male voice variant 2 |
expr-voice-2-f |
Female | Female voice variant 2 |
expr-voice-3-m |
Male | Male voice variant 3 |
expr-voice-3-f |
Female | Female voice variant 3 |
expr-voice-4-m |
Male | Male voice variant 4 |
expr-voice-4-f |
Female | Female voice variant 4 |
expr-voice-5-m |
Male | Male voice variant 5 |
expr-voice-5-f |
Female | Female voice variant 5 |
π οΈ Usage
- Enter Text: Type or paste your text in the input box
- Select Voice: Choose from the dropdown menu of available voices
- Generate: Click the "Generate Speech" button or press Enter
- Download: Play the generated audio or download it
π» Technical Details
- Model: KittenML/kitten-tts-nano-0.1
- Sample Rate: 24kHz
- Framework: KittenTTS
- Interface: Gradio
- Audio Format: WAV (24kHz, mono)
π§ Local Development
To run this locally:
# Clone the repository
git clone <your-repo-url>
cd <your-repo-name>
# Install dependencies
pip install -r requirements.txt
# Run the application
python app.py
π¦ Dependencies
gradio>=4.0.0
- Web interfacekittentts
- TTS frameworksoundfile
- Audio file handlingnumpy
- Numerical operationstorch
- PyTorch backendtorchaudio
- Audio processingtransformers
- Hugging Face transformersaccelerate
- Model acceleration
π€ Contributing
Feel free to contribute by:
- Reporting bugs
- Suggesting new features
- Improving the UI
- Adding more voice options
π License
This project uses the KittenTTS model. Please refer to the original model's license for usage terms.
π Acknowledgments
- KittenML for the TTS model
- Hugging Face for the Spaces platform
- Gradio for the web interface framework
Note: This is a demonstration of the KittenTTS model. For production use, please ensure compliance with the model's license and terms of use.