mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
bug修复
This commit is contained in:
parent
48cc70a7de
commit
12fa7d875f
@ -60,7 +60,7 @@ def execute_asr_multi_level_dir(input_folder, output_folder, model_size, languag
|
|||||||
# 只处理wav文件(假设是wav文件)
|
# 只处理wav文件(假设是wav文件)
|
||||||
if file_name.endswith(".wav"):
|
if file_name.endswith(".wav"):
|
||||||
try:
|
try:
|
||||||
file_path = os.path.join(input_folder, file_name)
|
file_path = os.path.join(root, file_name)
|
||||||
original_text = os.path.basename(root)
|
original_text = os.path.basename(root)
|
||||||
segments, info = model.transcribe(
|
segments, info = model.transcribe(
|
||||||
audio=file_path,
|
audio=file_path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user