A newer version of the Gradio SDK is available:
6.5.1
metadata
title: sub200
emoji: ๐๏ธ
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
hardware: zero-gpu-h200
sub200 - Ultra Low Latency TTS Hosting
sub200 allows you to host different open source TTS (Text-to-Speech) engines with ultra low latency.
Features
- ๐ Ultra Low Latency - Optimized for real-time speech synthesis
- ๐ฏ Multiple Engines - Support for Piper, Coqui TTS, Edge TTS, eSpeak, gTTS, and pyttsx3
- ๐ Web UI - Simple, modern Gradio interface
- โก Fast - Built with Gradio for high performance
- ๐ฎ GPU Support - Optimized for GPU acceleration with Coqui TTS (H200 dynamic allocation)
Available TTS Engines
- Piper TTS - Ultra low latency, offline
- Coqui TTS - High quality neural TTS (GPU accelerated)
- Edge TTS - Microsoft Edge TTS (free, online)
- eSpeak - Fast, lightweight, offline
- Google TTS (gTTS) - Online, requires internet
- pyttsx3 - Offline, uses system voices
Usage
- Enter your text in the text box
- Select a TTS engine from the dropdown
- Adjust speed if needed (0.5x to 2.0x)
- Click "Generate Speech"
- Audio will auto-play when ready!
GPU Support
This Space is configured for zero GPU (H200 dynamic allocation):
- GPU is allocated automatically when Coqui TTS is used
- No GPU needed for other engines (Piper, Edge TTS, eSpeak, etc.)
- Efficient resource usage with dynamic allocation
Model Files
Piper Models
- Models are downloaded automatically at runtime if not present
- Or you can include them in the repository (they're ~60MB each)
Coqui Models
- Models are downloaded automatically on first use
- They're cached in the Space's storage
Local Development
# Install dependencies
pip install -r requirements.txt
# Run server
python app.py
Then open http://localhost:7860
Performance Tips
- Use GPU - Coqui TTS benefits significantly from GPU acceleration
- Choose Right Engine:
- Piper - Fastest, lowest latency, offline
- Edge TTS - Best quality, requires internet
- Coqui - High quality, GPU accelerated
- eSpeak - Fastest, basic quality, offline
Troubleshooting
- No audio generated: Check engine status in the accordion
- GPU not working: Ensure zero GPU is enabled in Space settings
- Model download fails: Check internet connection for online engines