Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -55,9 +55,16 @@ def inference(text, spkr=emb_path):
|
|
55 |
|
56 |
text_box = gr.Textbox(max_lines=2, label="Arabic Text", rtl=True)
|
57 |
out = gr.Audio(label="Synthesized Audio", type="numpy")
|
58 |
-
title="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
demo = gr.Interface(inference, \
|
60 |
-
inputs=text_box, outputs=out, title=title)
|
61 |
|
62 |
if __name__ == "__main__":
|
63 |
demo.launch(share=True)
|
|
|
55 |
|
56 |
text_box = gr.Textbox(max_lines=2, label="Arabic Text", rtl=True)
|
57 |
out = gr.Audio(label="Synthesized Audio", type="numpy")
|
58 |
+
title="ArTST: Arabic Speech Synthesis"
|
59 |
+
description="ArTST: Arabic text and speech transformer based on the T5 transformer. This space demonstarates the TTS checkpoint finetuned on \
|
60 |
+
the CLARTTS dataset. The model is pre-trained on the MGB-2 dataset.Check the <a href='https://github.com/mbzuai-nlp/ArTST'> ArTST repo</a> for implementation code and \
|
61 |
+
Read our <a href='https://arxiv.org/abs/2310.16621'>paper</a> for more details."
|
62 |
+
examples=["ูุฃู ูุฑุงู ุงูู
ุฃููู ูู ุงูุนุงุฏุฉ ูู
ุฌุงูุจุฉ ู
ุง ุตุงุฑ ู
ุชููุง ุนููู ุจุงูู
ูุงุถุนุฉ",\
|
63 |
+
"ูู
ู ูุทูู ุญูู
ุชู ุฃู ุฌุนู ููู ุนุจุงุฏุฉ ุญุงูุชูู",\
|
64 |
+
"ูู
ู ููู
ุนุฏู ุงูุฅูุณุงู ู
ุน ู
ู ูููู"]
|
65 |
+
|
66 |
demo = gr.Interface(inference, \
|
67 |
+
inputs=text_box, outputs=out, title=title, description=description, examples=examples)
|
68 |
|
69 |
if __name__ == "__main__":
|
70 |
demo.launch(share=True)
|