mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2026-09-15 13:45:53 +08:00
Merge 4509e68e0430cc5170977c8ea3dffaed17578e8c into 48b1a0169a28582a8984402f82cf438d3bfa6aca
This commit is contained in:
commit
c65ff73893
@ -28,7 +28,12 @@ def synthesize(
|
||||
|
||||
# Change model weights
|
||||
change_gpt_weights(gpt_path=GPT_model_path)
|
||||
change_sovits_weights(sovits_path=SoVITS_model_path)
|
||||
for _ in change_sovits_weights(
|
||||
sovits_path=SoVITS_model_path,
|
||||
prompt_language=i18n(ref_language),
|
||||
text_language=i18n(target_language),
|
||||
):
|
||||
pass
|
||||
|
||||
# Synthesize audio
|
||||
synthesis_result = get_tts_wav(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user