Merge 4509e68e0430cc5170977c8ea3dffaed17578e8c into 6d51ffceafbf240145619af4c92408a6e54b7924

This commit is contained in:
Sai Asish Y 2026-11-16 00:17:25 -08:00 committed by GitHub
commit f4406e4f9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,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(