Spaces:
Sleeping
Sleeping
Update src/lookups.py
Browse filesTürkçe başta olacak şekilde değiştirildi.
- src/lookups.py +8 -8
src/lookups.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
-
language_list = ['
|
2 |
#'ara','fas','ukr','tur', 'mya', 'rus',
|
3 |
#'kmr-script_latin', 'urd-script_arabic', 'urd-script_devanagari', 'urd-script_latin',
|
4 |
]
|
5 |
|
6 |
#####################################
|
7 |
placeholders = {
|
|
|
8 |
'swh': "Mfuko wa Kimataifa wa Watoto",
|
9 |
'ara': "منظمة الأمم المتحدة للطفولة",
|
10 |
'eng': "the United Nations International Children's Emergency Fund",
|
@@ -18,13 +19,18 @@ placeholders = {
|
|
18 |
'ron': "Fondul Internațional pentru Urgențe ale Copiilor al Națiunilor Unite",
|
19 |
'rus': 'Международного фонда помощи детям',
|
20 |
'spa': "El Fondo de las Naciones Unidas para la Infancia",
|
21 |
-
'tur': "Birleşmiş Milletler Çocuklara Yardım Fonu",
|
22 |
'ukr': "Дитя́чий фонд Організа́ція Об'є́днаних На́цій",
|
23 |
'urd': "اقوام متحدہ کا فنڈ برائے اطفال"
|
24 |
}
|
25 |
|
26 |
#####################################
|
27 |
models = {
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
'swh': {
|
29 |
'mms': 'facebook/mms-tts-swh',
|
30 |
'coqui': None,
|
@@ -103,12 +109,6 @@ models = {
|
|
103 |
'coqui': 'tts_models/es/css10/vits', # Sampling rate: 22050
|
104 |
'espeakng': 'es-419',
|
105 |
'toucan': 'Spanish (spa)',
|
106 |
-
},
|
107 |
-
'tur': {
|
108 |
-
'mms': 'facebook/mms-tts-tur',
|
109 |
-
'coqui': None, ################
|
110 |
-
'espeakng': 'tr',
|
111 |
-
'toucan': 'Turkish (tur)',
|
112 |
},
|
113 |
'ukr': {
|
114 |
'mms': 'facebook/mms-tts-ukr',
|
|
|
1 |
+
language_list = [ 'tur', 'ara','mya', 'eng', 'fra', 'kmr', 'lin','mos','fas', 'por','ron','rus','spa', 'swh', 'ukr', 'urd'
|
2 |
#'ara','fas','ukr','tur', 'mya', 'rus',
|
3 |
#'kmr-script_latin', 'urd-script_arabic', 'urd-script_devanagari', 'urd-script_latin',
|
4 |
]
|
5 |
|
6 |
#####################################
|
7 |
placeholders = {
|
8 |
+
'tur': "Onur Demir Indata şirketinde 2024 yılında çalıştı.",
|
9 |
'swh': "Mfuko wa Kimataifa wa Watoto",
|
10 |
'ara': "منظمة الأمم المتحدة للطفولة",
|
11 |
'eng': "the United Nations International Children's Emergency Fund",
|
|
|
19 |
'ron': "Fondul Internațional pentru Urgențe ale Copiilor al Națiunilor Unite",
|
20 |
'rus': 'Международного фонда помощи детям',
|
21 |
'spa': "El Fondo de las Naciones Unidas para la Infancia",
|
|
|
22 |
'ukr': "Дитя́чий фонд Організа́ція Об'є́днаних На́цій",
|
23 |
'urd': "اقوام متحدہ کا فنڈ برائے اطفال"
|
24 |
}
|
25 |
|
26 |
#####################################
|
27 |
models = {
|
28 |
+
'tur': {
|
29 |
+
'mms': 'facebook/mms-tts-tur',
|
30 |
+
'coqui': None, ################
|
31 |
+
'espeakng': 'tr',
|
32 |
+
'toucan': 'Turkish (tur)',
|
33 |
+
},
|
34 |
'swh': {
|
35 |
'mms': 'facebook/mms-tts-swh',
|
36 |
'coqui': None,
|
|
|
109 |
'coqui': 'tts_models/es/css10/vits', # Sampling rate: 22050
|
110 |
'espeakng': 'es-419',
|
111 |
'toucan': 'Spanish (spa)',
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
},
|
113 |
'ukr': {
|
114 |
'mms': 'facebook/mms-tts-ukr',
|