File size: 5,807 Bytes
dae22b1 f5cf172 cb60bdc f5cf172 5ab332c cb60bdc f5cf172 cb60bdc 11b8286 cb60bdc 1eb5aca cb60bdc f5cf172 1eb5aca a0b99ec f5cf172 cb60bdc 1eb5aca a0b99ec cb60bdc 1eb5aca 11b8286 cb60bdc f5cf172 1eb5aca a0b99ec f5cf172 cb60bdc 1eb5aca a0b99ec 11b8286 cb60bdc f5cf172 11b8286 f5cf172 1eb5aca a0b99ec f5cf172 dae22b1 5ab332c dae22b1 cb60bdc 1eb5aca 11b8286 f5cf172 3a35ac0 f5cf172 1eb5aca 24c2e60 f5cf172 1eb5aca 11b8286 f5cf172 1eb5aca cb60bdc 1eb5aca a0b99ec 8ed9408 cb60bdc 11b8286 cb60bdc 1eb5aca a0b99ec 11b8286 cb60bdc f5cf172 1eb5aca a0b99ec cb60bdc 1eb5aca a0b99ec cb60bdc 1eb5aca a0b99ec cb60bdc 1eb5aca a0b99ec cb60bdc 1eb5aca 11b8286 cb60bdc 3a35ac0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
language_list = ['swh', 'ara','mya', 'eng', 'fra', 'hat', 'kmr', 'lin','mos','fas', 'por','ron', 'run','rus','spa', 'tur', 'ukr', 'urd'
#'ara','fas','ukr','tur', 'mya', 'rus',
#'kmr-script_latin', 'urd-script_arabic', 'urd-script_devanagari', 'urd-script_latin',
]
#####################################
placeholders = {
'swh': "Mfuko wa Kimataifa wa Watoto",
'ara': "منظمة الأمم المتحدة للطفولة",
'eng': "the United Nations International Children's Emergency Fund",
'fra': "Le Fonds des Nations unies pour l'enfance",
'hat': "Fon pou Timoun Nasyon Ini yo",
'fas': "صندوق کودکان ملل متحد",
'kmr': "سندووقی مناڵانی نەتەوە یەکگرتووەکان",
'lin': 'Your phrase here',
'mos': 'Your phrase here',
'mya': "ကုလသမဂ္ဂ အပြည်ပြည်ဆိုင်ရာ ကလေးများရန်ပုံငွေအဖွဲ့",
'por': "O Fundo das Nações Unidas para a Infância",
'ron': "Fondul Internațional pentru Urgențe ale Copiilor al Națiunilor Unite",
'run': "Your phrase here",
'rus': 'Международного фонда помощи детям',
'spa': "El Fondo de las Naciones Unidas para la Infancia",
'tur': "Birleşmiş Milletler Çocuklara Yardım Fonu",
'ukr': "Дитя́чий фонд Організа́ція Об'є́днаних На́цій",
'urd': "اقوام متحدہ کا فنڈ برائے اطفال"
}
#####################################
models = {
'swh': {
'mms': 'facebook/mms-tts-swh',
'coqui': None,
'espeakng': 'sw',
'toucan': 'Congo Swahili (swc)',
'piper': ['Swahili', 'csukuangfj/vits-piper-sw_CD-lanfrica-medium'],
},
'ara': {
'mms': 'facebook/mms-tts-ara',
'coqui': None, ################
'espeakng': 'ar',
'toucan': 'Standard Arabic (arb)',
'piper': ['Arabic','csukuangfj/vits-piper-ar_JO-kareem-low'] # Other variant(s) exist but have been left out
},
'mya': {
'mms': 'facebook/mms-tts-mya',
'coqui': None, ################
'espeakng': 'my',
'toucan': 'Burmese (mya)',
'piper': None
},
'eng': {
'mms': 'facebook/mms-tts-eng',
'coqui': None,
'espeakng': 'en',
'toucan': 'English (eng)',
'piper': ['English', 'csukuangfj/vits-piper-en_US-glados|1 speaker'] # Other variant(s) exist but have been left out
},
'fas':{
'mms': 'facebook/mms-tts-fas',
'coqui': None, #'tts_models/fa/custom/glow-tts',
'espeakng': 'fa',
'toucan': 'Persian (pes)', #'Dari (prs)'
'piper': ['Persian', 'csukuangfj/vits-piper-fa_IR-amir-medium'],
#['Persian', 'csukuangfj/vits-piper-fa_IR-gyro-medium']],
#'mimic3': ['csukuangfj/vits-mimic3-fa-haaniye_low']
} ,
'fra':{
'mms': 'facebook/mms-tts-fra',
'coqui': 'tts_models/fr/css10/vits', # Sampling rate: 22050 ## k2-fsa: 'csukuangfj/vits-coqui-fr-css10'
'espeakng': 'fr',
'toucan': 'French (fra)',
'piper': ['French', 'csukuangfj/vits-piper-fr_FR-upmc-medium'] # Other variant(s) exist but have been left out
},
'hat':{
'mms': 'facebook/mms-tts-hat',
'coqui': None,
'espeakng': 'ht',
'toucan': 'Haitian Creole (hat)',
'piper': None
},
'kmr': {
'mms': 'facebook/mms-tts-kmr-script_arabic',
'coqui': None, ################
'espeakng': 'ku',
'toucan': 'Kurdish (ckb)',
'piper': None
},
'lin':{
'mms': None,
'coqui': 'tts_models/lin/openbible/vits', # Sampling rate: 22050
'espeakng': None,
'toucan': 'Lingala (lin)',
'piper': None,
'africanvoices': 'cmu_lin_ope',
},
'mos':{
'mms': 'facebook/mms-tts-mos',
'coqui': None,
'espeakng': None,
'toucan': 'Mossi (mos)',
'piper': None
} ,
# 'Southern Pashto (pbt)', 'Northern Pashto (pbu)'
'por':{
'mms': 'facebook/mms-tts-por',
'coqui': 'tts_models/pt/cv/vits', # Sampling rate: 22050
'espeakng': 'pt-br',
'toucan': 'Brazilian Portuguese (pt-br)',
'piper': ['Portuguese', 'csukuangfj/vits-piper-pt_BR-edresson-low'],
#['Portuguese', 'csukuangfj/csukuangfj/vits-piper-pt_BR-faber-medium']
},
'ron':{
'mms': 'facebook/mms-tts-ron',
'coqui': 'tts_models/ro/cv/vits', # Sampling rate: 22050 # csukuangfj/vits-coqui-ro-cv
'espeakng': 'ro',
'toucan': 'Romanian (ron)',
'piper': ['Romanian', 'csukuangfj/vits-piper-ro_RO-mihai-medium']
},
'run':{
'mms': 'facebook/mms-tts-run',
'coqui': None,
'espeakng': None,
'toucan': 'Rundi (run)',
'piper': None
},
'rus':{
'mms': 'facebook/mms-tts-rus',
'coqui': None,
'espeakng': 'ru',
'toucan': 'Russian (rus)',
'piper': ['Russian', 'csukuangfj/vits-piper-ru_RU-irina-medium'] # Other variant(s) exist but have been left out
} ,
'spa':{
'mms': 'facebook/mms-tts-spa',
'coqui': 'tts_models/es/css10/vits', # Sampling rate: 22050
'espeakng': 'es-419',
'toucan': 'Spanish (spa)',
'piper': ['Spanish', 'csukuangfj/vits-piper-es-glados-medium'] # Other variant(s) exist but have been left out
},
'tur': {
'mms': 'facebook/mms-tts-tur',
'coqui': None, ################
'espeakng': 'tr',
'toucan': 'Turkish (tur)',
'piper': ['Turkish', 'csukuangfj/vits-piper-tr_TR-dfki-medium'] # Other variant(s) exist but have been left out
},
'ukr': {
'mms': 'facebook/mms-tts-ukr',
'coqui': None, ################
'espeakng': 'uk',
'toucan': 'Ukrainian (ukr)',
'piper': ['Ukrainian', 'csukuangfj/vits-piper-uk_UA-lada-x_low'] # Other variant(s) exist but have been left out
},
'urd': {
'mms': 'facebook/mms-tts-urd-script_arabic',
'coqui': None, ################
'espeakng': 'ur',
'toucan': 'Urdu (urd)',
'piper': None
},
}
|