Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
colorFrom: gray
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
@@ -11,4 +11,88 @@ license: mit
|
|
11 |
short_description: Bilingual Text-to-Speech (Amharic & English) πͺπΉπΊπΈ
|
12 |
---
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: 'Bilingual TTS: Amharic & English'
|
3 |
+
emoji: π
|
4 |
colorFrom: gray
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
|
|
11 |
short_description: Bilingual Text-to-Speech (Amharic & English) πͺπΉπΊπΈ
|
12 |
---
|
13 |
|
14 |
+
Here's a Hugging Face Spaces-optimized README.md:
|
15 |
+
|
16 |
+
```markdown
|
17 |
+
---
|
18 |
+
title: "π Bilingual TTS: Amharic & English"
|
19 |
+
emoji: "πͺπΉπΊπΈ"
|
20 |
+
colorFrom: "pink"
|
21 |
+
colorTo: "blue"
|
22 |
+
sdk: "gradio"
|
23 |
+
sdk_version: "4.13.0"
|
24 |
+
app_file: "app.py"
|
25 |
+
pinned: false
|
26 |
+
license: "mit"
|
27 |
+
---
|
28 |
+
|
29 |
+
# Bilingual Text-to-Speech Converter
|
30 |
+
|
31 |
+
<div align="center">
|
32 |
+
<img src="https://raw.githubusercontent.com/snackshell/eng-amh-tts/main/assets/demo.png" width="800" alt="Bilingual TTS Interface">
|
33 |
+
<br>
|
34 |
+
<em>Natural sounding speech synthesis for Amharic and English</em>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
[](https://huggingface.co/spaces/snackshell/eng-amh-tts)
|
38 |
+
|
39 |
+
## Key Features π
|
40 |
+
- **Bilingual Support**: Switch between Amharic & English seamlessly
|
41 |
+
- **Four Natural Voices**:
|
42 |
+
- πͺπΉ Amharic: Ameha (Male) & Mekdes (Female)
|
43 |
+
- πΊπΈ English: Ryan (Male) & Clara (Female)
|
44 |
+
- **Real-time Generation**: <3s response time for most requests
|
45 |
+
- **Gradient UI**: Beautiful pink-to-blue theme
|
46 |
+
- **Cross-language Error Handling**: Automatic error messages in selected language
|
47 |
+
|
48 |
+
## How to Use π€
|
49 |
+
1. **Select Language**: Choose between Amharic/English
|
50 |
+
2. **Choose Voice**: Pick your preferred speaker
|
51 |
+
3. **Enter Text**: Type or paste your text (max 500 characters)
|
52 |
+
4. **Generate**: Click the gradient button
|
53 |
+
5. **Play**: Listen directly in your browser
|
54 |
+
|
55 |
+

|
56 |
+
|
57 |
+
## Supported Voices π§
|
58 |
+
| Language | Speaker | Gender | Voice ID |
|
59 |
+
|-----------|---------|--------|--------------------|
|
60 |
+
| Amharic πͺπΉ | Ameha | Male | `am-ET-AmehaNeural`|
|
61 |
+
| Amharic πͺπΉ | Mekdes | Female | `am-ET-MekdesNeural`|
|
62 |
+
| English πΊπΈ | Ryan | Male | `en-GB-RyanNeural` |
|
63 |
+
| English πΊπΈ | Clara | Female | `en-CA-ClaraNeural`|
|
64 |
+
|
65 |
+
## Technical Flow π§
|
66 |
+
```mermaid
|
67 |
+
sequenceDiagram
|
68 |
+
User->>+App: Select Language & Voice
|
69 |
+
User->>+App: Input Text
|
70 |
+
App->>+EdgeTTS: Send Request
|
71 |
+
EdgeTTS-->>-App: Return Audio
|
72 |
+
App->>+User: Play Audio
|
73 |
+
```
|
74 |
+
|
75 |
+
## Local Development π»
|
76 |
+
```bash
|
77 |
+
git clone https://github.com/snackshell/eng-amh-tts.git
|
78 |
+
cd bilingual-tts
|
79 |
+
pip install -r requirements.txt
|
80 |
+
python app.py
|
81 |
+
```
|
82 |
+
|
83 |
+
## Limitations β οΈ
|
84 |
+
- Max 500 characters per request
|
85 |
+
- Requires internet connection
|
86 |
+
- English voices optimized for neutral accents
|
87 |
+
|
88 |
+
## Acknowledgments π
|
89 |
+
- Voice Technology: Microsoft Edge TTS
|
90 |
+
- Hosting: Hugging Face Spaces
|
91 |
+
- UI Framework: Gradio
|
92 |
+
- Maintained by: [Bana Codes](https://t.me/banacodes)
|
93 |
+
|
94 |
+
[π GitHub Repository](https://github.com/snackshell/eng-amh-tts) | [π Report Issues](https://github.com/snackshell/eng-amh-tts/issues)
|
95 |
+
|
96 |
+
```
|
97 |
+
|
98 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|