mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 04:22:46 +08:00
Update g2pw url
This commit is contained in:
parent
605b380114
commit
41090e5a7c
@ -58,7 +58,7 @@ def download_and_decompress(model_dir: str='G2PWModel/'):
|
|||||||
extract_dir = os.path.join(parent_directory,"G2PWModel_1.1")
|
extract_dir = os.path.join(parent_directory,"G2PWModel_1.1")
|
||||||
extract_dir_new = os.path.join(parent_directory,"G2PWModel")
|
extract_dir_new = os.path.join(parent_directory,"G2PWModel")
|
||||||
print("Downloading g2pw model...")
|
print("Downloading g2pw model...")
|
||||||
modelscope_url = "https://paddlespeech.cdn.bcebos.com/Parakeet/released_models/g2p/G2PWModel_1.1.zip"
|
modelscope_url = "https://www.modelscope.cn/models/kamiorinn/g2pw/resolve/master/G2PWModel_1.1.zip"#"https://paddlespeech.cdn.bcebos.com/Parakeet/released_models/g2p/G2PWModel_1.1.zip"
|
||||||
with requests.get(modelscope_url, stream=True) as r:
|
with requests.get(modelscope_url, stream=True) as r:
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
with open(zip_dir, 'wb') as f:
|
with open(zip_dir, 'wb') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user