Spaces:
Running
Running
File size: 2,753 Bytes
a23d291 d6a8ab9 a23d291 d6a8ab9 |
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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
---
title: 'Bilingual TTS: Amharic & English'
emoji: π
colorFrom: gray
colorTo: purple
sdk: gradio
sdk_version: 5.22.0
app_file: app.py
pinned: false
license: mit
short_description: Bilingual Text-to-Speech (Amharic & English) πͺπΉπΊπΈ
---
# Bilingual Text-to-Speech Converter
<div align="center">
<img src="https://raw.githubusercontent.com/snackshell/eng-amh-tts/main/assets/demo.png" width="800" alt="Bilingual TTS Interface">
<br>
<em>Natural sounding speech synthesis for Amharic and English</em>
</div>
[](https://huggingface.co/spaces/snackshell/eng-amh-tts)
## Key Features π
- **Bilingual Support**: Switch between Amharic & English seamlessly
- **Four Natural Voices**:
- πͺπΉ Amharic: Ameha (Male) & Mekdes (Female)
- πΊπΈ English: Ryan (Male) & Clara (Female)
- **Real-time Generation**: <3s response time for most requests
- **Gradient UI**: Beautiful pink-to-blue theme
- **Cross-language Error Handling**: Automatic error messages in selected language
## How to Use π€
1. **Select Language**: Choose between Amharic/English
2. **Choose Voice**: Pick your preferred speaker
3. **Enter Text**: Type or paste your text (max 500 characters)
4. **Generate**: Click the gradient button
5. **Play**: Listen directly in your browser

## Supported Voices π§
| Language | Speaker | Gender | Voice ID |
|-----------|---------|--------|--------------------|
| Amharic πͺπΉ | Ameha | Male | `am-ET-AmehaNeural`|
| Amharic πͺπΉ | Mekdes | Female | `am-ET-MekdesNeural`|
| English πΊπΈ | Ryan | Male | `en-GB-RyanNeural` |
| English πΊπΈ | Clara | Female | `en-CA-ClaraNeural`|
## Technical Flow π§
```mermaid
sequenceDiagram
User->>+App: Select Language & Voice
User->>+App: Input Text
App->>+EdgeTTS: Send Request
EdgeTTS-->>-App: Return Audio
App->>+User: Play Audio
```
## Local Development π»
```bash
git clone https://github.com/snackshell/eng-amh-tts.git
cd bilingual-tts
pip install -r requirements.txt
python app.py
```
## Limitations β οΈ
- Max 500 characters per request
- Requires internet connection
- English voices optimized for neutral accents
## Acknowledgments π
- Voice Technology: Microsoft Edge TTS
- Hosting: Hugging Face Spaces
- UI Framework: Gradio
- Maintained by: [Bana Codes](https://t.me/banacodes)
[π GitHub Repository](https://github.com/snackshell/eng-amh-tts) | [π Report Issues](https://github.com/snackshell/eng-amh-tts/issues)
```
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |