Minecraft3193092 commited on
Commit
8258956
1 Parent(s): 3f64e45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +45 -8
app.py CHANGED
@@ -5,14 +5,20 @@ import anyio
5
 
6
 
7
  language_dict = {
8
- 'English-Jenny (Female)': 'en-US-JennyNeural',
9
- 'English-Guy (Male)': 'en-US-GuyNeural',
10
- 'English-Ana (Female)': 'en-US-AnaNeural',
11
- 'English-Aria (Female)': 'en-US-AriaNeural',
12
- 'English-Christopher (Male)': 'en-US-ChristopherNeural',
13
- 'English-Eric (Male)': 'en-US-EricNeural',
14
- 'English-Michelle (Female)': 'en-US-MichelleNeural',
15
- 'English-Roger (Male)': 'en-US-RogerNeural',
 
 
 
 
 
 
16
  'Spanish (Mexican)-Dalia (Female)': 'es-MX-DaliaNeural',
17
  'Spanish (Mexican)-Jorge- (Male)': 'es-MX-JorgeNeural',
18
  'Korean-Sun-Hi- (Female)': 'ko-KR-SunHiNeural',
@@ -23,6 +29,37 @@ language_dict = {
23
  'Vietnamese-NamMinh- (Male)': 'vi-VN-NamMinhNeural',
24
  'Japanese-Nanami- (Female)': 'ja-JP-NanamiNeural',
25
  'Japanese-Keita- (Male)': 'ja-JP-KeitaNeural',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  'French-Denise- (Female)': 'fr-FR-DeniseNeural',
27
  'French-Eloise- (Female)': 'fr-FR-EloiseNeural',
28
  'French-Henri- (Male)': 'fr-FR-HenriNeural',
 
5
 
6
 
7
  language_dict = {
8
+ 'English (United States)-Jenny (Female)': 'en-US-JennyNeural',
9
+ 'English (United States)-Guy (Male)': 'en-US-GuyNeural',
10
+ 'English (United States)-Ana (Female)': 'en-US-AnaNeural',
11
+ 'English (United States)-Aria (Female)': 'en-US-AriaNeural',
12
+ 'English (United States)-Christopher (Male)': 'en-US-ChristopherNeural',
13
+ 'English (United States)-Eric (Male)': 'en-US-EricNeural',
14
+ 'English (United States)-Michelle (Female)': 'en-US-MichelleNeural',
15
+ 'English (United States)-Roger (Male)': 'en-US-RogerNeural',
16
+ 'English (United States)-Eric (Male)': 'en-US-EricNeural',
17
+ 'English (United States)-Jacob (Male)': 'en-US-JacobNeural',
18
+ 'English (United States)-Cora (Female)': 'en-US-CoraNeural',
19
+ 'English (United States)-Elizabeth (Female)': 'en-US-ElizabethNeural',
20
+ 'English (United States)-AI Generate (Male)': 'en-US-AIGenerate1Neural',
21
+ 'English (United States)-AI Generate (Female)': 'en-US-AIGenerate2Neural',
22
  'Spanish (Mexican)-Dalia (Female)': 'es-MX-DaliaNeural',
23
  'Spanish (Mexican)-Jorge- (Male)': 'es-MX-JorgeNeural',
24
  'Korean-Sun-Hi- (Female)': 'ko-KR-SunHiNeural',
 
29
  'Vietnamese-NamMinh- (Male)': 'vi-VN-NamMinhNeural',
30
  'Japanese-Nanami- (Female)': 'ja-JP-NanamiNeural',
31
  'Japanese-Keita- (Male)': 'ja-JP-KeitaNeural',
32
+ 'Japanese-Aoi- (Female)': 'ja-JP-AoiNeural',
33
+ 'Japanese-Dauchi- (Male)': 'ja-JP-DaichiNeural',
34
+ 'Japanese-Mayu- (Female)': 'ja-JP-MayuNeural',
35
+ 'Japanese-Naoki- (Male)': 'ja-JP-NaokiNeural',
36
+ 'Japanese-Shiori- (Female)': 'ja-JP-ShioriNeural',
37
+ 'Japanese-Keita- (Male)': 'ja-JP-MasaruMultilingualNeural',
38
+ 'Chinese (Mandarin, Simplified)-Xiaoxiao- (Female)': 'zh-CN-XiaoxiaoNeural',
39
+ 'Chinese (Mandarin, Simplified)-Yunxi (Male)': 'zh-CN-YunxiNeural',
40
+ 'Chinese (Mandarin, Simplified)-Yunjian (Male)': 'zh-CN-YunjianNeural',
41
+ 'Chinese (Mandarin, Simplified)-Xiaoyi (Female)': 'zh-CN-XiaoyiNeural',
42
+ 'Chinese (Mandarin, Simplified)-Yunyang (Male)': 'zh-CN-YunyangNeural',
43
+ 'Chinese (Mandarin, Simplified)-Xiaochen (Female)': 'zh-CN-XiaochenNeural',
44
+ 'Chinese (Wu, Simplified)-Xiaotong (Female)': 'wuu-CN-XiaotongNeural',
45
+ 'Chinese (Wu, Simplified)-Yunzhe (Male)': 'wuu-CN-YunzheNeural',
46
+ 'Chinese (Cantonese, Simplified)-XiaoMin (Female)': 'yue-CN-XiaoMinNeural',
47
+ 'Chinese (Cantonese, Simplified)-YunSong (Male)': 'yue-CN-YunSongNeural',
48
+ 'Chinese (Guangxi Accent Mandarin, Simplified)-Yunqi (Male)': 'zh-CN-guangxi-YunqiNeural',
49
+ 'Chinese (Zhongyuan Mandarin Henan, Simplified) -Yundeng (Male)': 'zh-CN-henan-YundengNeural',
50
+ 'Chinese (Northeastern Mandarin, Simplified)-Xiaobei (Female)': 'zh-CN-liaoning-XiaobeiNeural',
51
+ 'Chinese (Northeastern Mandarin, Simplified)-Yunbiao (Male)': 'zh-CN-liaoning-YunbiaoNeural',
52
+ 'Chinese (Zhongyuan Mandarin Shaanxi, Simplified)-Xiaoni (Female)': 'zh-CN-shaanxi-XiaoniNeural',
53
+ 'Chinese (Jilu Mandarin, Simplified)-Yunxiang (Male)': 'zh-CN-shandong-YunxiangNeural',
54
+ 'Chinese (Southwestern Mandarin, Simplified)-Yunxi (Male)': 'zh-CN-sichuan-YunxiNeural',
55
+ 'Chinese (Cantonese, Traditional)-HiuMaan (Female)': 'zh-HK-HiuMaanNeural',
56
+ 'Chinese (Cantonese, Traditional)-WanLung (Male)': 'zh-HK-WanLungNeural',
57
+ 'Chinese (Cantonese, Traditional)-HiuGaai (Female)': 'zh-HK-HiuGaaiNeural',
58
+ 'Chinese (Taiwanese Mandarin, Traditional)-Hsiao (Female)': 'zh-TW-HsiaoChenNeural',
59
+ 'Chinese (Taiwanese Mandarin, Traditional)-YunJhe (Male)': 'zh-TW-YunJheNeural',
60
+ 'Chinese (Taiwanese Mandarin, Traditional)-HsiaoYu (Female)': 'zh-TW-HsiaoYuNeural',
61
+ 'Zulu (South Africa)-Thando (Female)': 'zu-ZA-ThandoNeural',
62
+ 'Zulu (South Africa))-Themba (Male)': 'zu-ZA-ThembaNeural',
63
  'French-Denise- (Female)': 'fr-FR-DeniseNeural',
64
  'French-Eloise- (Female)': 'fr-FR-EloiseNeural',
65
  'French-Henri- (Male)': 'fr-FR-HenriNeural',