run-llama / llama-hub

A library of data loaders for LLMs made by the community -- to be used with LlamaIndex and/or LangChain
https://llamahub.ai/
MIT License
3.44k stars 732 forks source link

fix(PyMuPDF): store the str path instead of the Path object #917

Closed boarush closed 8 months ago

boarush commented 8 months ago

Description

Store the path in str when using the PyMuPDF Loader in case a Path object is passed.

Type of Change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Suggested Checklist: