Spaces:
Running
on
T4
Running
on
T4
Fabrice-TIERCELIN
commited on
Commit
•
6aae304
1
Parent(s):
d3b67ac
This PR directly displays the language in the dropdown
Browse files
app.py
CHANGED
@@ -416,10 +416,6 @@ description = """
|
|
416 |
|
417 |
This demo is currently running **XTTS v2.0.3** <a href="https://huggingface.co/coqui/XTTS-v2">XTTS</a> is a multilingual text-to-speech and voice-cloning model. This demo features zero-shot voice cloning, however, you can fine-tune XTTS for better results. Leave a star 🌟 on Github <a href="https://github.com/coqui-ai/TTS">🐸TTS</a>, where our open-source inference and training code lives.
|
418 |
|
419 |
-
<br/>
|
420 |
-
|
421 |
-
Supported languages: Arabic: ar, Brazilian Portuguese: pt , Mandarin Chinese: zh-cn, Czech: cs, Dutch: nl, English: en, French: fr, German: de, Italian: it, Polish: pl, Russian: ru, Spanish: es, Turkish: tr, Japanese: ja, Korean: ko, Hungarian: hu, Hindi: hi
|
422 |
-
|
423 |
<br/>
|
424 |
"""
|
425 |
|
@@ -626,23 +622,23 @@ with gr.Blocks(analytics_enabled=False) as demo:
|
|
626 |
label="Language",
|
627 |
info="Select an output language for the synthesised speech",
|
628 |
choices=[
|
629 |
-
"
|
630 |
-
"
|
631 |
-
"
|
632 |
-
"
|
633 |
-
"
|
634 |
-
"
|
635 |
-
"
|
636 |
-
"
|
637 |
-
"
|
638 |
-
"
|
639 |
-
"
|
640 |
-
"
|
641 |
-
"
|
642 |
-
"ja",
|
643 |
-
"ko",
|
644 |
-
"hu",
|
645 |
-
"hi"
|
646 |
],
|
647 |
max_choices=1,
|
648 |
value="en",
|
|
|
416 |
|
417 |
This demo is currently running **XTTS v2.0.3** <a href="https://huggingface.co/coqui/XTTS-v2">XTTS</a> is a multilingual text-to-speech and voice-cloning model. This demo features zero-shot voice cloning, however, you can fine-tune XTTS for better results. Leave a star 🌟 on Github <a href="https://github.com/coqui-ai/TTS">🐸TTS</a>, where our open-source inference and training code lives.
|
418 |
|
|
|
|
|
|
|
|
|
419 |
<br/>
|
420 |
"""
|
421 |
|
|
|
622 |
label="Language",
|
623 |
info="Select an output language for the synthesised speech",
|
624 |
choices=[
|
625 |
+
["Arabic": "ar"],
|
626 |
+
["Brazilian Portuguese": "pt"],
|
627 |
+
["Mandarin Chinese": "zh-cn"],
|
628 |
+
["Czech": "cs"],
|
629 |
+
["Dutch": "nl"],
|
630 |
+
["English": "en"],
|
631 |
+
["French": "fr"],
|
632 |
+
["German": "de"],
|
633 |
+
["Italian": "it"],
|
634 |
+
["Polish": "pl"],
|
635 |
+
["Russian": "ru"],
|
636 |
+
["Spanish": "es"],
|
637 |
+
["Turkish": "tr"],
|
638 |
+
["Japanese": "ja"],
|
639 |
+
["Korean": "ko"],
|
640 |
+
["Hungarian": "hu"],
|
641 |
+
["Hindi": "hi"]
|
642 |
],
|
643 |
max_choices=1,
|
644 |
value="en",
|