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

Dependency related modifications #77

Open
erenirmak opened this issue Feb 11, 2025 · 0 comments
Open

Dependency related modifications #77

erenirmak opened this issue Feb 11, 2025 · 0 comments

Comments

@erenirmak
Copy link

Hello,
The dependency on pdf2image and poppler-utils gave me some headaches because it is not possible to install poppler-utils in my work environment.
So, I implemented custom classes that does the same thing as pdf2image.convert_from_path() function but using PyMuPDF.
I also inherited RAGMultiModalModel and ColPaliModel classes and modified the certain methods to make them work with PyMuPDF-based new custom classes. As a result, it is still working in the same way but without the dependency on poppler-utils.

If it is welcomed and suitable, I'd like to contribute this implementation, but I don't know much about licensing issues.

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

1 participant