|
language_list = ['swh', 'ara','mya', 'eng', 'fra', 'hat', 'kmr', 'lin','mos','fas', 'por','ron', 'run','rus','spa', 'tur', 'ukr', 'urd' |
|
|
|
|
|
] |
|
|
|
|
|
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'] |
|
}, |
|
'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'] |
|
}, |
|
'fas':{ |
|
'mms': 'facebook/mms-tts-fas', |
|
'coqui': None, |
|
'espeakng': 'fa', |
|
'toucan': 'Persian (pes)', |
|
'piper': ['Persian', 'csukuangfj/vits-piper-fa_IR-amir-medium'], |
|
|
|
|
|
} , |
|
'fra':{ |
|
'mms': 'facebook/mms-tts-fra', |
|
'coqui': 'tts_models/fr/css10/vits', |
|
'espeakng': 'fr', |
|
'toucan': 'French (fra)', |
|
'piper': ['French', 'csukuangfj/vits-piper-fr_FR-upmc-medium'] |
|
}, |
|
'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', |
|
'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 |
|
} , |
|
|
|
'por':{ |
|
'mms': 'facebook/mms-tts-por', |
|
'coqui': 'tts_models/pt/cv/vits', |
|
'espeakng': 'pt-br', |
|
'toucan': 'Brazilian Portuguese (pt-br)', |
|
'piper': ['Portuguese', 'csukuangfj/vits-piper-pt_BR-edresson-low'], |
|
|
|
}, |
|
'ron':{ |
|
'mms': 'facebook/mms-tts-ron', |
|
'coqui': 'tts_models/ro/cv/vits', |
|
'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'] |
|
} , |
|
'spa':{ |
|
'mms': 'facebook/mms-tts-spa', |
|
'coqui': 'tts_models/es/css10/vits', |
|
'espeakng': 'es-419', |
|
'toucan': 'Spanish (spa)', |
|
'piper': ['Spanish', 'csukuangfj/vits-piper-es-glados-medium'] |
|
}, |
|
'tur': { |
|
'mms': 'facebook/mms-tts-tur', |
|
'coqui': None, |
|
'espeakng': 'tr', |
|
'toucan': 'Turkish (tur)', |
|
'piper': ['Turkish', 'csukuangfj/vits-piper-tr_TR-dfki-medium'] |
|
}, |
|
'ukr': { |
|
'mms': 'facebook/mms-tts-ukr', |
|
'coqui': None, |
|
'espeakng': 'uk', |
|
'toucan': 'Ukrainian (ukr)', |
|
'piper': ['Ukrainian', 'csukuangfj/vits-piper-uk_UA-lada-x_low'] |
|
}, |
|
'urd': { |
|
'mms': 'facebook/mms-tts-urd-script_arabic', |
|
'coqui': None, |
|
'espeakng': 'ur', |
|
'toucan': 'Urdu (urd)', |
|
'piper': None |
|
}, |
|
} |
|
|
|
|