This PR directly displays the language in the dropdown
#6
by
Fabrice-TIERCELIN
- opened
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",
|