language_list = ['swh', 'ara','mya', 'eng', 'fra', '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", '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 }, '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 }, '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 }, }