mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-25 23:17:24 +08:00
add all
This commit is contained in:
parent
766d6615ab
commit
921d9961d0
4
api.py
4
api.py
@ -1223,7 +1223,7 @@ async def tts_endpoint(
|
||||
|
||||
|
||||
|
||||
if (character == "Kurari" and version!="v3") or character == "saotome":
|
||||
if (character == "Kurari") or character == "saotome":
|
||||
"""
|
||||
"中文": "all_zh",
|
||||
"粤语": "all_yue",
|
||||
@ -1265,8 +1265,6 @@ async def tts_endpoint(
|
||||
else:
|
||||
return JSONResponse({"error": "Failed to generate audio"}, status_code=400)
|
||||
|
||||
if character == "Kurari":
|
||||
character = "kurari"
|
||||
|
||||
refer_wav_path = f"idols/{character}/{character}.wav"
|
||||
inp_refs = [f"idols/{character}/refs/{file}" for file in os.listdir(f"idols/{character}/refs") if file.endswith('.wav')]
|
||||
|
@ -12,8 +12,8 @@ is_share= True if is_share_str.lower() == 'true' else False
|
||||
|
||||
cnhubert_path = "GPT_SoVITS/pretrained_models/chinese-hubert-base"
|
||||
bert_path = "GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large"
|
||||
pretrained_sovits_path = "GPT_SoVITS/pretrained_models/kurari-high_e25_s325.pth"
|
||||
pretrained_gpt_path = "GPT_SoVITS/pretrained_models/kurari-high-e45.ckpt"
|
||||
pretrained_sovits_path = "GPT_SoVITS/pretrained_models/s2G2333k.pth"
|
||||
pretrained_gpt_path = "GPT_SoVITS/pretrained_models/s1bert25hz-5kh-longer-epoch=12-step=369668.ckpt"
|
||||
|
||||
# pretrained_sovits_path = "GPT_SoVITS/pretrained_models/kurari_e20_s1800_l32.pth"
|
||||
# pretrained_gpt_path = "GPT_SoVITS/pretrained_models/kurari-e40.ckpt"
|
||||
|
Loading…
x
Reference in New Issue
Block a user