Add files via upload

This commit is contained in:
RVC-Boss 2024-08-06 16:11:00 +08:00 committed by GitHub
parent 8869b11eed
commit d3ee2fc408
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -134,6 +134,8 @@ pretrained_gpt_name,pretrained_sovits_name = _
SoVITS_weight_root=["SoVITS_weights_v2","SoVITS_weights"]
GPT_weight_root=["GPT_weights_v2","GPT_weights"]
for root in SoVITS_weight_root+GPT_weight_root:
os.makedirs(root,exist_ok=True)
def get_weights_names():
SoVITS_names = [name for name in pretrained_sovits_name if name!=""]
for path in SoVITS_weight_root: