Spaces:
Running
Running
minor edits on UI
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ license: cc-by-4.0
|
|
11 |
short_description: 'Space to demo TTS models '
|
12 |
---
|
13 |
|
14 |
-
# TWB Voice
|
15 |
|
16 |
This Gradio demo showcases neural Text-to-Speech models developed within the TWB Voice project by CLEAR Global. Currently it supports **Hausa** and **Kanuri** languages, developed as part of the first phase of the project.
|
17 |
|
|
|
11 |
short_description: 'Space to demo TTS models '
|
12 |
---
|
13 |
|
14 |
+
# TWB Voice - TTS Demo Space
|
15 |
|
16 |
This Gradio demo showcases neural Text-to-Speech models developed within the TWB Voice project by CLEAR Global. Currently it supports **Hausa** and **Kanuri** languages, developed as part of the first phase of the project.
|
17 |
|
app.py
CHANGED
@@ -161,13 +161,13 @@ def synthesize_speech(text, language, speaker):
|
|
161 |
# Create Gradio interface
|
162 |
with gr.Blocks(title="TWB Voice TTS Demo") as demo:
|
163 |
gr.Markdown("""
|
164 |
-
# TWB Voice
|
165 |
|
166 |
-
This demo showcases neural Text-to-Speech models
|
167 |
-
developed as part of the
|
168 |
|
169 |
### Features:
|
170 |
-
- **Hausa**: 3 speakers (1 female, 2 male)
|
171 |
- **Kanuri**: 1 female speaker
|
172 |
- High-quality 24kHz audio output
|
173 |
- Based on YourTTS architecture
|
@@ -209,7 +209,7 @@ with gr.Blocks(title="TWB Voice TTS Demo") as demo:
|
|
209 |
)
|
210 |
|
211 |
# Example buttons
|
212 |
-
gr.Markdown("**Quick examples:**")
|
213 |
with gr.Row():
|
214 |
example_btn_1 = gr.Button("Example 1", size="sm")
|
215 |
example_btn_2 = gr.Button("Example 2", size="sm")
|
@@ -265,14 +265,11 @@ with gr.Blocks(title="TWB Voice TTS Demo") as demo:
|
|
265 |
gr.Markdown("""
|
266 |
---
|
267 |
### Notes:
|
268 |
-
- Models work
|
269 |
-
- **Hausa model** supports diacritics: `ăāɓɗƙƴū`
|
270 |
-
- **Kanuri model** supports diacritics: `áúǝəә`
|
271 |
- Audio output is generated at 24kHz sample rate
|
272 |
-
- Models are optimized for educational and general content
|
273 |
|
274 |
### License:
|
275 |
-
|
276 |
|
277 |
**Created by:** CLEAR Global with support from the Patrick J. McGovern Foundation
|
278 |
""")
|
|
|
161 |
# Create Gradio interface
|
162 |
with gr.Blocks(title="TWB Voice TTS Demo") as demo:
|
163 |
gr.Markdown("""
|
164 |
+
# TWB Voice Text-to-Speech Demo Space
|
165 |
|
166 |
+
This demo showcases neural Text-to-Speech models developed within the TWB Voice project by CLEAR Global.
|
167 |
+
Currently it supports **Hausa** and **Kanuri** languages, developed as part of the first phase of the project.
|
168 |
|
169 |
### Features:
|
170 |
+
- **Hausa**: 3 speakers (1 female, 2 male)
|
171 |
- **Kanuri**: 1 female speaker
|
172 |
- High-quality 24kHz audio output
|
173 |
- Based on YourTTS architecture
|
|
|
209 |
)
|
210 |
|
211 |
# Example buttons
|
212 |
+
gr.Markdown("**Quick examples (press to load):**")
|
213 |
with gr.Row():
|
214 |
example_btn_1 = gr.Button("Example 1", size="sm")
|
215 |
example_btn_2 = gr.Button("Example 2", size="sm")
|
|
|
265 |
gr.Markdown("""
|
266 |
---
|
267 |
### Notes:
|
268 |
+
- Models work with **lowercase input text** (automatically converted)
|
|
|
|
|
269 |
- Audio output is generated at 24kHz sample rate
|
|
|
270 |
|
271 |
### License:
|
272 |
+
This app and the models are released under **CC-BY-NC-4.0** license (Non-Commercial use only).
|
273 |
|
274 |
**Created by:** CLEAR Global with support from the Patrick J. McGovern Foundation
|
275 |
""")
|