From 12fa7d875f544a639b016f4a7c60135bdbe8fe9e Mon Sep 17 00:00:00 2001 From: Downupanddownup Date: Thu, 2 May 2024 09:56:00 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tool/asr/fasterwhisper_asr_multi_level_dir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ref_Audio_Selector/tool/asr/fasterwhisper_asr_multi_level_dir.py b/Ref_Audio_Selector/tool/asr/fasterwhisper_asr_multi_level_dir.py index 301b2c5..fd2e920 100644 --- a/Ref_Audio_Selector/tool/asr/fasterwhisper_asr_multi_level_dir.py +++ b/Ref_Audio_Selector/tool/asr/fasterwhisper_asr_multi_level_dir.py @@ -60,7 +60,7 @@ def execute_asr_multi_level_dir(input_folder, output_folder, model_size, languag # 只处理wav文件(假设是wav文件) if file_name.endswith(".wav"): try: - file_path = os.path.join(input_folder, file_name) + file_path = os.path.join(root, file_name) original_text = os.path.basename(root) segments, info = model.transcribe( audio=file_path,