mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-09-01 12:25:45 +08:00
测试
This commit is contained in:
parent
536c226b1a
commit
61db7f05dc
@ -167,9 +167,9 @@ def generate_audio_files_for_emotion_group(url_composer, text_list, emotion_list
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if url_composer.is_emotion():
|
if url_composer.is_emotion():
|
||||||
real_url = url_composer.build_url_with_emotion(text, emotion['emotion'])
|
real_url = url_composer.build_url_with_emotion(text, emotion['emotion'], False)
|
||||||
else:
|
else:
|
||||||
real_url = url_composer.build_url_with_ref(text, emotion['ref_path'], emotion['ref_text'])
|
real_url = url_composer.build_url_with_ref(text, emotion['ref_path'], emotion['ref_text'], False)
|
||||||
|
|
||||||
audio_bytes = inference_audio_from_api(real_url)
|
audio_bytes = inference_audio_from_api(real_url)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user