mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-29 14:30:35 +08:00
change the ref audio
This commit is contained in:
parent
be20bc57de
commit
312167776d
6
api.py
6
api.py
@ -1169,7 +1169,7 @@ def version_4_cli(
|
|||||||
SoVITS_model_path = "GPT_SoVITS/pretrained_models/saotome_e9_s522_l32.pth"
|
SoVITS_model_path = "GPT_SoVITS/pretrained_models/saotome_e9_s522_l32.pth"
|
||||||
ref_language = "日文"
|
ref_language = "日文"
|
||||||
elif character_name in ["Ikko", "ikko", "Ikka", "ikka"]:
|
elif character_name in ["Ikko", "ikko", "Ikka", "ikka"]:
|
||||||
path = "idols/ikka/ikka.wav"
|
path = "idols/ikka/ikko.wav"
|
||||||
GPT_model_path = "GPT_SoVITS/pretrained_models/ikko-san-e45.ckpt"
|
GPT_model_path = "GPT_SoVITS/pretrained_models/ikko-san-e45.ckpt"
|
||||||
SoVITS_model_path = "GPT_SoVITS/pretrained_models/ikko-san_e15_s1305_l32.pth"
|
SoVITS_model_path = "GPT_SoVITS/pretrained_models/ikko-san_e15_s1305_l32.pth"
|
||||||
if (character_name == "kurari" or character_name=="Kurari") and version == "v2":
|
if (character_name == "kurari" or character_name=="Kurari") and version == "v2":
|
||||||
@ -1224,8 +1224,8 @@ async def tts_endpoint(
|
|||||||
prompt_text = "おはよう〜。今日はどんな1日過ごすー?くらりはね〜いつでもあなたの味方だよ"
|
prompt_text = "おはよう〜。今日はどんな1日過ごすー?くらりはね〜いつでもあなたの味方だよ"
|
||||||
elif character == "saotome":
|
elif character == "saotome":
|
||||||
prompt_text = "朝ごはんにはトーストと卵、そしてコーヒーを飲みました。簡単だけど、朝の時間が少し幸せに感じられる瞬間でした。"
|
prompt_text = "朝ごはんにはトーストと卵、そしてコーヒーを飲みました。簡単だけど、朝の時間が少し幸せに感じられる瞬間でした。"
|
||||||
elif character == "ikka" or character == "Ikka":
|
elif character in ["Ikko", "ikko", "Ikka", "ikka"]:
|
||||||
prompt_text = "言われますけどその通りで朝早く起きるといい空気を吸えて"
|
prompt_text = "せおいなげ、まじばな、らぶらぶ、あげあげ、まぼろし"
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
warnings.warn(f"the character name is {character}. ")
|
warnings.warn(f"the character name is {character}. ")
|
||||||
|
BIN
idols/ikka/ikko.wav
Normal file
BIN
idols/ikka/ikko.wav
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user