File size: 2,206 Bytes
949d893
ba28dcc
ce398cd
949d893
ba28dcc
 
 
 
2e80b4e
ba28dcc
1351d4e
949d893
9721fd3
04f3f01
949d893
bda3923
 
 
 
 
 
949d893
04f3f01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
949d893
 
 
 
 
04f3f01
 
 
 
 
 
 
 
 
949d893
 
 
 
 
04f3f01
 
949d893
04f3f01
 
 
949d893
 
 
04f3f01
949d893
ba28dcc
 
 
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
---
license: mit
title: Amharic Text-to-Speech (TTS)
sdk: gradio
emoji: πŸ’»
colorFrom: purple
colorTo: pink
thumbnail: >-
  https://cdn-uploads.huggingface.co/production/uploads/6717556a4777a008d5050cba/urQjnIAwtM0Pm6coyh4A7.png
short_description: 'Amharic Text-to-Speech Application. '
sdk_version: 5.22.0
---

# 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>

[![Open in Spaces](https://img.shields.io/badge/πŸ€—-Open%20in%20Spaces-blue.svg)](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)

## 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)
```

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference