Skip to content

Commit

Permalink
fix: any_to_mp3
Browse files Browse the repository at this point in the history
  • Loading branch information
wxg0103 committed Dec 18, 2024
1 parent b819e66 commit dcb4c52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def process_audio_item(audio_item, model):
temp_mp3_path = temp_amr_file.name
any_to_mp3(temp_file_path, temp_mp3_path)
try:
return split_and_transcribe(temp_file_path, model)
return split_and_transcribe(temp_mp3_path, model)
finally:
os.remove(temp_file_path)
os.remove(temp_mp3_path)
Expand Down

0 comments on commit dcb4c52

Please sign in to comment.