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

Failed to parse PDF... #29

Open
j1029441326 opened this issue Mar 2, 2024 · 6 comments
Open

Failed to parse PDF... #29

j1029441326 opened this issue Mar 2, 2024 · 6 comments

Comments

@j1029441326
Copy link

The pdf file was uploaded successfully, and a failure message was displayed during parsing :

Failed to parse PDF... Error: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/convert (Caused by newConnectionError('<urllib3.connection. HTTPConnection object at 0x7f7b15f53760>: Failed to establish a new connection: [Errno 111] Connection refused'))

@hsb1995
Copy link

hsb1995 commented Mar 24, 2024

@j1029441326
image
How did you reproduce it? Why do I always feel like this code is incomplete? Is that all?

@hsb1995
Copy link

hsb1995 commented Mar 25, 2024 via email

@hsb1995
Copy link

hsb1995 commented Mar 25, 2024 via email

@dzysunshine
Copy link

大神您好, 你那个错就是gradio这个包版本问题。或者是需要连接外网。 我的问题你回答下哦,现在这个程序就只有这些了吗?他有没有删除? ---- Replied Message ---- | From | @.@.> | | Date | 3/25/2024 12:22 | | To | @.> | | Subject | Re: [Weixin-Liang/LLM-scientific-feedback] Failed to parse PDF... (Issue #29) | 你觉得他的代码完整吗

---- Replied Message ---- | From | @.
> | | Date | 03/25/2024 12:15 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [Weixin-Liang/LLM-scientific-feedback] Failed to parse PDF... (Issue #29) | The pdf file was uploaded successfully, and a failure message was displayed during parsing : Failed to parse PDF... Error: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/convert (Caused by newConnectionError('<urllib3.connection. HTTPConnection object at 0x7f7b15f53760>: Failed to establish a new connection: [Errno 111] Connection refused')) 你好,你这个报错解决了吗?我也遇到了相同的报错。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

你好,后来发现了确实是代理问题,已经解决了。我只需要用到它这里对PDF的解析,故没有发现有不完整的地方,是你遇到什么报错了吗?为什么会说不完整。

@hsb1995
Copy link

hsb1995 commented Mar 25, 2024 via email

@dzysunshine
Copy link

您看我总觉得这个代码就这几行就能运行吗?总觉得他没给完整。如果您运行成功了,我就去下载试试,最近项目缺这个 ---- Replied Message ---- | From | @.> | | Date | 3/25/2024 15:05 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [Weixin-Liang/LLM-scientific-feedback] Failed to parse PDF... (Issue #29) | 大神您好, 你那个错就是gradio这个包版本问题。或者是需要连接外网。 我的问题你回答下哦,现在这个程序就只有这些了吗?他有没有删除? ---- Replied Message ---- | From | @.@.> | | Date | 3/25/2024 12:22 | | To | @.> | | Subject | Re: [Weixin-Liang/LLM-scientific-feedback] Failed to parse PDF... (Issue #29) | 你觉得他的代码完整吗 … ---- Replied Message ---- | From | @.> | | Date | 03/25/2024 12:15 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [Weixin-Liang/LLM-scientific-feedback] Failed to parse PDF... (Issue #29) | The pdf file was uploaded successfully, and a failure message was displayed during parsing : Failed to parse PDF... Error: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/convert (Caused by newConnectionError('<urllib3.connection. HTTPConnection object at 0x7f7b15f53760>: Failed to establish a new connection: [Errno 111] Connection refused')) 你好,你这个报错解决了吗?我也遇到了相同的报错。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 你好,后来发现了确实是代理问题,已经解决了。我只需要用到它这里对PDF的解析,故没有发现有不完整的地方,是你遇到什么报错了吗?为什么会说不完整。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

是的,因为本身功能亚不多,一个是对PDF的解析,一个是用大模型进行回答,用的openai的,所以代码不多。

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

3 participants