add try process

This commit is contained in:
YuanHui
2025-02-19 14:33:20 +08:00
parent b18ba29fa3
commit e787033d60

View File

@@ -264,7 +264,10 @@ def get_course():
# 调用 mp4_to_wav 函数进行转换
wav_file = convert_mp4(mp4_file)
if wav_file is not None:
process_audio_file(wav_file)
try:
process_audio_file(wav_file)
except:
print('process_audio_file fail')
if __name__ == '__main__':