Spaces:
Sleeping
Sleeping
File size: 2,669 Bytes
04f3f01 bdc09b3 949d893 04f3f01 949d893 04f3f01 949d893 04f3f01 949d893 04f3f01 949d893 04f3f01 949d893 04f3f01 949d893 04f3f01 949d893 04f3f01 949d893 04f3f01 949d893 04f3f01 949d893 |
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 84 85 86 87 88 89 |
```markdown
```
---
title: Amharic Text-to-Speech (TTS) Application
emoji: πͺπΉ
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 4.13.0
app_file: app.py
pinned: false
license: mit
---
# Amharic Text-to-Speech (TTS) Application
<div align="center">
<img src="https://raw.githubusercontent.com/snackshell/amharic-tts/main/assets/demo.png" alt="Amharic TTS Interface" width="800">
<br>
<em>Convert Amharic text to natural-sounding speech directly in your browser</em>
</div>
[](https://huggingface.co/spaces/snackshell/amharic-tts)
## Features β¨
- π£οΈ Native Amharic voice support (Male & Female)
- π Web interface with Amharic localization
- β‘ Real-time speech synthesis
- π§ Direct audio playback in browser
- π οΈ Error handling with Amharic/English messages
- β±οΈ 30-second timeout protection
## Supported Voices πΆ
| Name | Gender | Voice ID |
|--------|--------|--------------------|
| Ameha | Male | `am-ET-AmehaNeural`|
| Mekdes | Female | `am-ET-MekdesNeural`|
## How to Use π
1. Type/paste Amharic text in the input box
2. Select preferred voice (Ameha or Mekdes)
3. Click "α΅αα
αα α" (Generate Audio)
4. Play the generated audio using the built-in player
## Technical Details π§
```mermaid
graph TD
A[User Interface] --> B(Gradio Frontend)
B --> C[Edge TTS Service]
C --> D[Microsoft Cognitive Services]
```
### Built With
- π Python 3.10+
- ποΈ Gradio (Web Interface)
- π edge-tts (TTS Engine)
- β‘ asyncio (Async Operations)
## Local Development π»
```bash
git clone https://github.com/snackshell/amharic-tts.git
cd amharic-tts
pip install -r requirements.txt
python app.py
```
## License π
This project is licensed under the [MIT License](LICENSE)
## Acknowledgments π
- Microsoft Edge TTS services
- Hugging Face for hosting
- Gradio team for the web framework
- Ethiopian tech community for support
[π GitHub Repository](https://github.com/snackshell/amharic-tts) | [π Report Issues](https://github.com/snackshell/amharic-tts/issues)
```
Key changes made for Hugging Face Spaces:
1. Added Spaces metadata header
2. Changed image path to absolute URL
3. Added "Open in Spaces" badge
4. Simplified installation to focus on Space usage
5. Reorganized sections for ML Hub context
6. Added direct GitHub links at bottom
7. Removed redundant contribution instructions (link to GitHub instead)
8. Updated acknowledgments to include Hugging Face
Keep your existing `requirements.txt` file - Hugging Face Spaces will automatically use it for dependency installation. |