Chenyme / Chenyme-AAVT

这是一个全自动(音频)视频翻译项目。利用Whisper识别声音,AI大模型翻译字幕,最后合并字幕视频,生成翻译后的视频。
MIT License
736 stars 73 forks source link

0.6.1测试发现的Bug #9

Closed blackwhites closed 3 months ago

blackwhites commented 3 months ago

转audio的时候报错,转video没有报错

2024-03-12_22-30-46

File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script exec(code, module.dict) File "C:\Chenyme_AAVT_0.6.1\pages\🎙️音频(Audio).py", line 46, in result = get_whisper_result(uploaded_file, cache_dir, device, w_model_option, w_version, vad) TypeError: get_whisper_result() missing 3 required positional arguments: 'lang', 'beam_size', and 'min_vad' 2024-03-12 07:30:23.183 Uncaught app exception Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script exec(code, module.dict) File "C:\Chenyme_AAVT_0.6.1\pages\🎙️音频(Audio).py", line 46, in result = get_whisper_result(uploaded_file, cache_dir, device, w_model_option, w_version, vad) TypeError: get_whisper_result() missing 3 required positional arguments: 'lang', 'beam_size', and 'min_vad'

Chenyme commented 3 months ago

你好!谢谢你的反馈,现已发布修复版本V0.6.1_Fixbug,您可以重新下载并正常使用~再次感谢你的反馈! 版本链接:V0.6.1_Fixbug