mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
测试
This commit is contained in:
parent
61db7f05dc
commit
fe969ab9a2
@ -180,7 +180,7 @@ def generate_audio_files_for_emotion_group(url_composer, text_list, emotion_list
|
||||
f.write(audio_bytes)
|
||||
|
||||
has_generated_count += 1
|
||||
logger.info(f"进度: {has_generated_count}/{all_count}")
|
||||
logger.info(f"进程ID: {os.getpid()}, 进度: {has_generated_count}/{all_count}")
|
||||
end_time = time.perf_counter() # 获取计时终点
|
||||
elapsed_time = end_time - start_time # 计算执行耗时
|
||||
# 记录日志内容
|
||||
|
@ -70,7 +70,7 @@ def remove_low_similarity_files(ref_audio_list, report_list, audio_text_similari
|
||||
|
||||
def delete_ref_audio_below_boundary(ref_audio_path, text_similarity_result_path, sync_inference_audio_dir,
|
||||
audio_text_similarity_boundary):
|
||||
ref_audio_list = common.RefAudioListManager(ref_audio_path)
|
||||
ref_audio_list = common.RefAudioListManager(ref_audio_path).get_ref_audio_list()
|
||||
report_list = parse_text_similarity_result_txt(text_similarity_result_path)
|
||||
count = remove_low_similarity_files(ref_audio_list, report_list, audio_text_similarity_boundary)
|
||||
audio_check.sync_ref_audio(ref_audio_path, sync_inference_audio_dir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user