-
Notifications
You must be signed in to change notification settings - Fork 23
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
图片生成失败 'Version' object has no attribute 'predict' #7
Comments
Version.predict()方法貌似已经被弃用了,现在推荐使用replicate.run这个方法了。 |
尝试改了下, 但是还是失败了... 好像作者也停止更新了 |
需要画图还是接入Link.AI用midjourney吧,这个即使可以使用效果也不是很好。 |
主要是这个可以很容易通过关键词来选择合适的模型... |
装<=0.10.0的replicate包可以用吗 |
作者现身了! 还没有尝试过老的包, 等有空我我试试, 不过最好的方法还是支持新的方法吧 |
已测试,降级为0.10.0版本后可正常使用。 |
感谢反馈,已限制replicate版本。根据官方的pr信息,应该只修改了api调用方法,对性能没有影响。等有空时候再适配一下新版本的api :) |
奇怪, 我降级为 0.10.0 后还是发生了报错
|
卸载重装插件试 |
模型都报同一个错误
HTTP Request: GET https://api.replicate.com/v1/models/luosiallen/latent-consistency-model "HTTP/1.1 200 OK" HTTP Request: GET https://api.replicate.com/v1/models/luosiallen/latent-consistency-model/versions/553803fd018b3cf875a8bc774c99da9b33f36647badfd88a6eec90d61c5f62fc "HTTP/1.1 200 OK" [ERROR][2023-11-13 21:30:46][main.py:159] - [RP] exception: 'Version' object has no attribute 'predict' Traceback (most recent call last): File "/root/chatgpt-on-wechatcom/plugins/plugin_replicate/main.py", line 125, in on_handle_context result = version.predict(**params) AttributeError: 'Version' object has no attribute 'predict'
The text was updated successfully, but these errors were encountered: