Spaces:
Running
Running
Mohamed Aymane Farhi
commited on
Commit
•
9da07f8
1
Parent(s):
44243d4
Add description.
Browse files
app.py
CHANGED
@@ -23,6 +23,8 @@ def tts(text, variant):
|
|
23 |
examples = [["wala manis a-ttidun?", "Tachelhit"],
|
24 |
["ġ-iḍ-an ġ-ilul-umsiggel, illas lḥal s-umdlu isemmiḍn.", "Tachelhit"]]
|
25 |
|
|
|
|
|
26 |
iface = gr.Interface(
|
27 |
fn=tts,
|
28 |
inputs=[
|
@@ -34,7 +36,8 @@ iface = gr.Interface(
|
|
34 |
],
|
35 |
outputs=gr.outputs.Audio(label="Output", type="numpy"),
|
36 |
examples=examples,
|
37 |
-
title="🗣️ Tamazight Text
|
|
|
38 |
allow_flagging="manual",
|
39 |
flagging_options=['error', 'bad-quality', 'wrong-pronounciation'],
|
40 |
)
|
|
|
23 |
examples = [["wala manis a-ttidun?", "Tachelhit"],
|
24 |
["ġ-iḍ-an ġ-ilul-umsiggel, illas lḥal s-umdlu isemmiḍn.", "Tachelhit"]]
|
25 |
|
26 |
+
description = "Text-to-speech for Tachelhit, Tarifit, Taqbaylit, Tamasheq and Tamajaq (Tawallammat)."
|
27 |
+
|
28 |
iface = gr.Interface(
|
29 |
fn=tts,
|
30 |
inputs=[
|
|
|
36 |
],
|
37 |
outputs=gr.outputs.Audio(label="Output", type="numpy"),
|
38 |
examples=examples,
|
39 |
+
title="🗣️ Tamazight Text-to-Speech with MMS (Massively Multilingual Speech) 🗣️",
|
40 |
+
description=description,
|
41 |
allow_flagging="manual",
|
42 |
flagging_options=['error', 'bad-quality', 'wrong-pronounciation'],
|
43 |
)
|