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

无法翻译pdf文档,显示一直在运行中 #7

Open
zhongzebin opened this issue Nov 2, 2019 · 1 comment
Open

无法翻译pdf文档,显示一直在运行中 #7

zhongzebin opened this issue Nov 2, 2019 · 1 comment

Comments

@zhongzebin
Copy link

我成功配置了环境并在浏览器中打开了对应窗口,成功上传了文件(test1.pdf),但是点击翻译后就一直显示运行中,没有获得翻译结果。请问如何解决?

@QPromise
Copy link
Owner

不好意思,PyMuPDF更新1.16.9版本,代码中使用的那个函数参数改变了,现已进行更新。
trans_to_pdf.py中此行代码参数变为如下:flags = 4
blks = cur_page.getTextBlocks(flags = 4) # read text blocks of input page

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