Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.49.1
metadata
title: Piper TTS Demo
emoji: ποΈ
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 3.50.2
app_file: app.py
pinned: false
license: mit
Piper TTS Demo
A web-based demo for Piper TTS, featuring high-quality text-to-speech synthesis for Japanese and English.
Features
- π―π΅ Japanese TTS: High-quality Japanese speech synthesis using OpenJTalk phonemization
- πΊπΈ English TTS: Natural English speech synthesis
- π Fast Inference: ONNX Runtime for efficient CPU-based inference
- ποΈ Adjustable Parameters: Control speech speed, expressiveness, and phoneme duration
- π Web Interface: Easy-to-use Gradio interface
Models
This demo includes:
- Japanese (Medium): CSS10-based Japanese model with natural intonation
- English (Test): English model for demonstration
Usage
- Select a model from the dropdown
- Enter your text in the input field
- Adjust advanced settings if needed
- Click "Generate Speech" to synthesize
Technical Details
- Framework: ONNX Runtime (CPU inference)
- Phonemization:
- Japanese: pyopenjtalk
- English: Character-based fallback
- Audio: 16-bit PCM WAV output
Local Development
# Clone the repository
git clone https://github.com/ayutaz/piper-plus.git
cd piper-plus/huggingface-space
# Install requirements
pip install -r requirements.txt
# Run the app
python app.py
Credits
License
This project is licensed under the MIT License. See the original Piper repository for more details.
Last updated: 2025-01-21 - Using Gradio 4.44.1 for stable deployment