snackshell commited on
Commit
d6a8ab9
Β·
verified Β·
1 Parent(s): 2bbabc3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +87 -3
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Eng Amh Tts
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
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ [![Open in Spaces](https://img.shields.io/badge/πŸ€—-Try%20Live-blue)](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
+ ![Usage Demo](https://raw.githubusercontent.com/snackshell/eng-amh-tts/main/assets/usage-demo.gif)
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