Logo Lanfrica

snackshell/eng-amh-tts

Domain:

natural language processing

Record type:

softwaretools
Creator:
sna
Host:
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