0
点赞
收藏
分享

微信扫一扫

React Hooks 小记(七)_useReducer

八卦城的酒 2024-06-29 阅读 29
lang="en"
constVideo = VideoConst("GV9AMT")
combineMp3Path = constVideo.getCombineMp3Path(lang)
srtPath = constVideo.getOutSrtAsrFixPath(lang=lang)
result, json_object = utilTts.whisper_transcribe_en(combineMp3Path)
srt_writer = get_writer("srt", constVideo.videoDir)
srt_writer(result, srtPath)

 

参考:

How to Customize Subtitles with Whisper - CodePull

https://github.com/openai/whisper

举报

相关推荐

0 条评论