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

API 重复翻译相同文件,报错 #685

Open
4 tasks done
haowaiwai opened this issue Feb 25, 2025 · 0 comments
Open
4 tasks done

API 重复翻译相同文件,报错 #685

haowaiwai opened this issue Feb 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@haowaiwai
Copy link

haowaiwai commented Feb 25, 2025

Before you asking

  • I have searched the existing issues
  • I spend at least 5 minutes for thinking and preparing
  • I have thoroughly and completely read the wiki.
  • I have carefully checked the issue, and it is unrelated to the network environment.

Environment

- OS:docker
- Python:3.12.9
- pdf2zh:1.9.2rc0

Describe the bug

curl http://localhost:11008/v1/translate -F "[email protected]" -F "data={\"lang_in\":\"en\",\"lang_out\":\"zh\",\"service\":\"ollama\",\"thread\":4}"

第一可以正常翻译
第二次执行,查询状态:{"state":"FAILURE"}

@haowaiwai haowaiwai added the bug Something isn't working label Feb 25, 2025
@awwaawwa awwaawwa changed the title 重复翻译相同文件,报错 API 重复翻译相同文件,报错 Feb 25, 2025
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

1 participant