Spaces:
Sleeping
Sleeping
language_list = ['swh', 'eng', 'spa','fra','por','ron', 'fas', 'lin', 'mos','rus', | |
#'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", | |
'eng': "the United Nations International Children's Emergency Fund", | |
'spa': "El Fondo de las Naciones Unidas para la Infancia", | |
'fra': "Le Fonds des Nations unies pour l'enfance", | |
'por': "O Fundo das Nações Unidas para a Infância", | |
'ron': "Fondul Internațional pentru Urgențe ale Copiilor al Națiunilor Unite", | |
'fas': "صندوق کودکان ملل متحد", | |
'lin': 'Your phrase here', | |
'mos': 'Your phrase here', | |
'rus': 'Международного фонда помощи детям' ### | |
} | |
##################################### | |
models = { | |
'swh': { | |
'mms': 'facebook/mms-tts-swh', | |
'coqui': None, | |
'espeakng': 'sw', | |
}, | |
'eng': { | |
'mms': 'facebook/mms-tts-eng', | |
'coqui': None, | |
'espeakng': 'en', | |
}, | |
'spa':{ | |
'mms': 'facebook/mms-tts-spa', | |
'coqui': 'tts_models/es/css10/vits', | |
'espeakng': 'es-419', | |
}, | |
'fra':{ | |
'mms': 'facebook/mms-tts-fra', | |
'coqui': 'tts_models/fr/css10/vits', | |
'espeakng': 'fr', | |
}, | |
'por':{ | |
'mms': 'facebook/mms-tts-por', | |
'coqui': 'tts_models/pt/cv/vits', | |
'espeakng': 'pt-br', | |
}, | |
'ron':{ | |
'mms': 'facebook/mms-tts-ron', | |
'coqui': 'tts_models/ro/cv/vits', | |
'espeakng': 'ro', | |
}, | |
'fas':{ | |
'mms': 'facebook/mms-tts-fas', | |
'coqui': None, #'tts_models/fa/custom/glow-tts', | |
'espeakng': 'fa', | |
} , | |
'lin':{ | |
'mms': None, | |
'coqui': 'tts_models/lin/openbible/vits', | |
'espeakng': None, | |
}, | |
'mos':{ | |
'mms': 'facebook/mms-tts-mos', | |
'coqui': None, | |
'espeakng': None, | |
} , | |
'rus':{ | |
'mms': 'facebook/mms-tts-rus', | |
'coqui': None, | |
'espeakng': 'ru', | |
} | |
} |