Spaces:
Runtime error
Runtime error
Commit ·
6128f91
1
Parent(s): f305508
update
Browse files24 unmodified lines2526272829303124 unmodified linesdef load_or_download_config(locale):language = locale.split('-')[0].upper()print(f"language={language}, locale={locale}")# assert language in DOWNLOAD_CONFIG_URLS#config_path = os.path.expanduser(f'~/.local/share/openvoice/basespeakers/{language}/config.json')24 unmodified lines2526272829303124 unmodified linesdef load_or_download_config(locale):language = locale.split('-')[0].upper()print(f"language={language}, locale={locale}, DOWNLOAD_CONFIG_URLS={DOWNLOAD_CONFIG_URLS}")# assert language in DOWNLOAD_CONFIG_URLS#config_path = os.path.expanduser(f'~/.local/share/openvoice/basespeakers/{language}/config.json')
melo/download_utils.py+1-1