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

这个项目需要连接互联网才能使用吗? #2

Open
GPTlei opened this issue May 13, 2024 · 5 comments
Open

这个项目需要连接互联网才能使用吗? #2

GPTlei opened this issue May 13, 2024 · 5 comments

Comments

@GPTlei
Copy link

GPTlei commented May 13, 2024

下载模型后,在互联网使用没有问题,在局域网使用会报错。

@jianchang512
Copy link
Owner

当然了,需要在线从阿里下载模型。
第一次可以联网,后续可以断网

@GPTlei
Copy link
Author

GPTlei commented May 14, 2024

Win10系统
模型已经下载好了,互联网环境运行无问题,识别MP3文件成功。切换内网(无互联网连接)启动成功后,浏览器拖入MP3文件,会报错:“识别出错:NoneType object is not callable”。在命令行提示符下有一堆报错,提示连接www.modelscope.cn失败。
重新切回互联网环境,又能识别。
求教问题出在哪里?

@GPTlei
Copy link
Author

GPTlei commented May 14, 2024

局域网报错截图:
局域网报错
连接互联网后成功截图:
连接互联网后成功

@jianchang512
Copy link
Owner

只要没写本地具体路径,还是会检测更新查看最新模块

源码部署 打开 start.py
image

将这里3个模型分别替换为 这3个
image

@GPTlei
Copy link
Author

GPTlei commented May 14, 2024

多谢大佬,成功解决问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants