Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不能下载whisper模型,显示错误 #13

Closed
majunwuxi opened this issue Nov 16, 2024 · 3 comments
Closed

不能下载whisper模型,显示错误 #13

majunwuxi opened this issue Nov 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@majunwuxi
Copy link

问题描述 | Problem Description

点击下载模型时,显示了一条错误的信息:错误 'gbk' codec can't decode byte 0x9b in position 191: illegal multibyte sequence
VideoCaptioner_yyf9mxPj0D

日志信息(可选)| Logs (Optional)

No response

@majunwuxi majunwuxi added the bug Something isn't working label Nov 16, 2024
@WEIFENG2333
Copy link
Owner

你的程序是解压在哪里的?是中文路径吗?

@majunwuxi
Copy link
Author

是的,改成了英文路径之后就解决了

@WEIFENG2333
Copy link
Owner

是的,改成了英文路径之后就解决了

好的,可能命令行调用 aria2c.exe 下载的编码有问题。

在 subprocess.Popen() 调用中添加了 encoding='utf-8' 参数,明确指定使用UTF-8编码来处理输入输出流。

问题现在已经修复,下个版本跟新将推送。

感谢你的反馈~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants