-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
HTTP服务无法使用 #657
Comments
翻译时有报错信息吗? |
并没有报错信息,只是返回400状态码,并且也开启了celery服务,redis-server也在正常运行。请求翻译的状态码是200,而且进行结果下载也可以正常下载。 |
所有文件都是这样吗?还是个别文件如此? |
所有文件都是这样的,问题大概在celery与redis的交互上。以下是我在ubuntu系统上部署的过程: |
model加载逻辑烂了,所以那个api接口暂时没法用,回滚到1.8.8应该可以正常使用 |
感谢大佬 |
curl http://localhost:11008/v1/translate -F "[email protected]" -F "data={"lang_in":"en","lang_out":"zh","service":"google","thread":4}"请问大佬,这个api操作怎么将本地文件换成文档链接? |
curl http://localhost:11008/v1/translate -F "[email protected]" -F "data={"lang_in":"en","lang_out":"zh","service":"google","thread":4}" 请问一下如果我使用其它模型如阿里的千问,api key定义到里?还有其它参数具体文档吗 |
奇怪 我周五下午测试过,没有问题呀,尝试更新一下版本到1.9.1呢? |
在提问之前...
使用的环境
描述你的问题
在进行pdf2zh后端api部署时,上传的文件可以被正常翻译,但是当下载时会报400错误,并且下载的文件无法打开,只有1kb。在使用pdf2zh -i 进行操作时可以正常翻译以及下载。
如何复现
预期行为
No response
相关 Logs
原始PDF文件
No response
还有别的吗?
No response
The text was updated successfully, but these errors were encountered: