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

request to specify default value for the --prompt parameter #352

Open
SkyfireWXY opened this issue Dec 26, 2024 · 2 comments
Open

request to specify default value for the --prompt parameter #352

SkyfireWXY opened this issue Dec 26, 2024 · 2 comments

Comments

@SkyfireWXY
Copy link

问题描述

请对问题进行描述,并提供日志或截图
请确认 issues 中没有相同问题且完整阅读 wiki
本项目不处理网络环境引发的问题(例如 empty translation result/connection reset/check_hostname requires server_hostname/certificate verify failed/unable to connect to proxy/LocalEntryNotFoundError)

测试文档

Important

请提供用于复现测试的 PDF 文档

without --prompt argument,High_level.py , line 237, translate_stream function reports error. It is recommended to specify a default value for the --prompt parameter

issue_report.pdf

@hellofinch
Copy link
Contributor

your command ? How do you run the program?

@SkyfireWXY
Copy link
Author

Sorry, I didn't save the output when the error was reported.
Let me describe the situation

  1. I ran pdf2zh --flask -s ‘ollama:qwen2.5-coder:14b-instruct-q8_0’ -t 4
  2. i ran pdf2zh --celery worker
    and got that error.

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