Skip to content

Commit dcb4c52

Browse files
committed
fix: any_to_mp3
1 parent b819e66 commit dcb4c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/step_node/speech_to_text_step_node/impl/base_speech_to_text_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def process_audio_item(audio_item, model):
3737
temp_mp3_path = temp_amr_file.name
3838
any_to_mp3(temp_file_path, temp_mp3_path)
3939
try:
40-
return split_and_transcribe(temp_file_path, model)
40+
return split_and_transcribe(temp_mp3_path, model)
4141
finally:
4242
os.remove(temp_file_path)
4343
os.remove(temp_mp3_path)

0 commit comments

Comments
 (0)