Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
9790b0a
1
Parent(s):
73e2e10
update
Browse files- melo/download_utils.py +1 -0
melo/download_utils.py
CHANGED
@@ -25,6 +25,7 @@ DOWNLOAD_CONFIG_URLS = {
|
|
25 |
|
26 |
def load_or_download_config(locale):
|
27 |
language = locale.split('-')[0].upper()
|
|
|
28 |
assert language in DOWNLOAD_CONFIG_URLS
|
29 |
|
30 |
#config_path = os.path.expanduser(f'~/.local/share/openvoice/basespeakers/{language}/config.json')
|
|
|
25 |
|
26 |
def load_or_download_config(locale):
|
27 |
language = locale.split('-')[0].upper()
|
28 |
+
print(f"language={language}, locale={locale}")
|
29 |
assert language in DOWNLOAD_CONFIG_URLS
|
30 |
|
31 |
#config_path = os.path.expanduser(f'~/.local/share/openvoice/basespeakers/{language}/config.json')
|