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

How to resolve the error when generating charts after the frontend uploads a PDF file? #875

Open
miyuan12345 opened this issue Nov 13, 2024 · 4 comments
Labels
question Further information is requested

Comments

@miyuan12345
Copy link

I keep getting errors while generating charts, whether I pass a PDF file or a TXT file (attached image). Is there any way to solve this problem?
8eca5424d307af559019a3185d352fe
b065bde1de64b0a4538f96d29fb1fcc

@karanchellani
Copy link
Collaborator

Hi @miyuan12345, can you share sample pdf or txt file you are trying to process, we will check why its failing.

@miyuan12345
Copy link
Author

Hi @miyuan12345, can you share sample pdf or txt file you are trying to process, we will check why its failing.

Okay, here are my PDF and TXT files:
4.1.pdf
4.1.txt

@kartikpersistent
Copy link
Collaborator

{81995696-51BD-41E0-A106-43E07C644ADA}
{79EBB618-B785-4AE7-81CF-3D4043CC3511}
Hi @miyuan12345 it is working at our end can you try on deployed version also share which specific llm you choose for extraction

@kartikpersistent kartikpersistent added the question Further information is requested label Nov 18, 2024
@miyuan12345
Copy link
Author

I followed your video on Bilibili and didn't make any changes, so I'm not sure which specific LLM I chose for extraction. I also don't know where my code went wrong, but when deploying the environment and processing the requirements.txt file, I encountered many errors. I'm not sure if I made a mistake while handling the errors. Below is my requirements.txt file, and I'm using Python 3.9. Could you help me take a look? Thank you very much.
requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants