Spaces:
Running
Running
File size: 393 Bytes
7af4264 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
if __name__ == '__main__':
from melo.api import TTS
device = 'auto'
models = {
'EN': TTS(language='EN', device=device),
'ES': TTS(language='ES', device=device),
'FR': TTS(language='FR', device=device),
'ZH': TTS(language='ZH', device=device),
'JP': TTS(language='JP', device=device),
'KR': TTS(language='KR', device=device),
} |