Commit
•
cab7c5c
1
Parent(s):
cbf197c
This PR directly displays the language in the dropdown (#6)
Browse files- This PR directly displays the language in the dropdown (3307a378c7622c0f46760fc517fd3f2af55a835c)
Co-authored-by: Fabrice TIERCELIN <Fabrice-TIERCELIN@users.noreply.huggingface.co>
app.py
CHANGED
@@ -239,19 +239,19 @@ gr.Interface(
|
|
239 |
label="Language",
|
240 |
info="Select an output language for the synthesised speech",
|
241 |
choices=[
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
],
|
256 |
max_choices=1,
|
257 |
value="en",
|
|
|
239 |
label="Language",
|
240 |
info="Select an output language for the synthesised speech",
|
241 |
choices=[
|
242 |
+
["Arabic", "ar"],
|
243 |
+
["Brazilian Portuguese", "pt"],
|
244 |
+
["Mandarin Chinese", "zh-cn"],
|
245 |
+
["Czech", "cs"],
|
246 |
+
["Dutch", "nl"],
|
247 |
+
["English", "en"],
|
248 |
+
["French", "fr"],
|
249 |
+
["German", "de"],
|
250 |
+
["Italian", "it"],
|
251 |
+
["Polish", "pl"],
|
252 |
+
["Russian", "ru"],
|
253 |
+
["Spanish", "es"],
|
254 |
+
["Turkish", "tr"],
|
255 |
],
|
256 |
max_choices=1,
|
257 |
value="en",
|