zh-plus / openlrc

Transcribe and translate voice into LRC file using Whisper and LLMs (GPT, Claude, et,al). 使用whisper和LLM(GPT,Claude等)来转录、翻译你的音频为字幕文件。
https://zh-plus.github.io/openlrc/
MIT License
459 stars 33 forks source link

preprocessed 执行失败 #20

Closed hhhynnn closed 11 months ago

hhhynnn commented 12 months ago

ln_path = ln_path.rename(ln_path.parent / f'{audio_name}_preprocessed.wav') 这一步执行失败,没反应,导致后面报错: FileNotFoundError: [WinError 2] 系统找不到指定的文件。

zh-plus commented 12 months ago

Check the solution here: https://github.com/zh-plus/openlrc/discussions/15#discussioncomment-7249044

hhhynnn commented 12 months ago

不,上面这个把代码放进 main 块的没用,通过另一个途径解决了: 按照 whisper 官方 README 配置好 whisper: https://github.com/openai/whisper

VertofChest commented 10 months ago

This answer did not help