Spaces:
Running
Running
Changed hosting to host
Browse files- melo/download_utils.py +14 -14
melo/download_utils.py
CHANGED
|
@@ -3,23 +3,23 @@ import os
|
|
| 3 |
from . import utils
|
| 4 |
|
| 5 |
DOWNLOAD_CKPT_URLS = {
|
| 6 |
-
'EN': 'https://myshell-public-repo-
|
| 7 |
-
'EN_V2': 'https://myshell-public-repo-
|
| 8 |
-
'FR': 'https://myshell-public-repo-
|
| 9 |
-
'JP': 'https://myshell-public-repo-
|
| 10 |
-
'ES': 'https://myshell-public-repo-
|
| 11 |
-
'ZH': 'https://myshell-public-repo-
|
| 12 |
-
'KR': 'https://myshell-public-repo-
|
| 13 |
}
|
| 14 |
|
| 15 |
DOWNLOAD_CONFIG_URLS = {
|
| 16 |
-
'EN': 'https://myshell-public-repo-
|
| 17 |
-
'EN_V2': 'https://myshell-public-repo-
|
| 18 |
-
'FR': 'https://myshell-public-repo-
|
| 19 |
-
'JP': 'https://myshell-public-repo-
|
| 20 |
-
'ES': 'https://myshell-public-repo-
|
| 21 |
-
'ZH': 'https://myshell-public-repo-
|
| 22 |
-
'KR': 'https://myshell-public-repo-
|
| 23 |
}
|
| 24 |
|
| 25 |
def load_or_download_config(locale):
|
|
|
|
| 3 |
from . import utils
|
| 4 |
|
| 5 |
DOWNLOAD_CKPT_URLS = {
|
| 6 |
+
'EN': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/EN/checkpoint.pth',
|
| 7 |
+
'EN_V2': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/EN_V2/checkpoint.pth',
|
| 8 |
+
'FR': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/FR/checkpoint.pth',
|
| 9 |
+
'JP': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/JP/checkpoint.pth',
|
| 10 |
+
'ES': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/ES/checkpoint.pth',
|
| 11 |
+
'ZH': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/ZH/checkpoint.pth',
|
| 12 |
+
'KR': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/KR/checkpoint.pth',
|
| 13 |
}
|
| 14 |
|
| 15 |
DOWNLOAD_CONFIG_URLS = {
|
| 16 |
+
'EN': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/EN/config.json',
|
| 17 |
+
'EN_V2': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/EN_V2/config.json',
|
| 18 |
+
'FR': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/FR/config.json',
|
| 19 |
+
'JP': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/JP/config.json',
|
| 20 |
+
'ES': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/ES/config.json',
|
| 21 |
+
'ZH': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/ZH/config.json',
|
| 22 |
+
'KR': 'https://myshell-public-repo-host.s3.amazonaws.com/openvoice/basespeakers/KR/config.json',
|
| 23 |
}
|
| 24 |
|
| 25 |
def load_or_download_config(locale):
|