add docker

This commit is contained in:
qinzy
2024-02-27 14:57:32 -07:00
parent 51dcd5fc58
commit 5bcbf94746
3 changed files with 28 additions and 1 deletions

14
melo/init_downloads.py Normal file
View File

@@ -0,0 +1,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),
}