Bilingual Text-to-Speech (Amharic & English) ๐ช๐น๐บ๐ธ
# Bilingual Text-to-Speech (Amharic & English)
Convert text to natural speech in Amharic and English.
## โจ Features
- ๐ **Bilingual Support:** Generate speech in both Amharic and English.
- ๐ฃ๏ธ **Multiple Voices:** Choose from four natural-sounding voices.
- ๐ **Dynamic UI:** Voice options automatically update based on the selected language.
- โก **Real-time Generation:** Powered by Microsoft Edge's online TTS service.
- ๐ง **In-browser Playback:** Listen to the generated audio directly in the app.
- ๐จ **Modern Interface:** Clean, themed UI built with Gradio.
- โฑ๏ธ **Timeout Protection:** Prevents long-running requests from crashing the app.
## ๐ถ Supported Voices
| Language | Name | 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` |
## โ๏ธ Installation
1. Clone the repository:
```bash
git clone
github.com
cd eng-amh-tts
```
2. Create and activate a virtual environment:
```bash
# Create the environment
python -m venv venv
# Activate on Linux/Mac
source venv/bin/activate
# Activate on Windows
venv\Scripts\activate
```
3. Install the required packages:
```bash
pip install -r requirements.txt
```
## ๐ Usage
Run the Gradio application with the following command:
```bash
python app.py