Find answers from the community

A
Ankur
Offline, last seen 3 months ago
Joined September 25, 2024
A
Ankur
·

Loader

Hey Everyone,

I am trying to extract the text from the file using the following code-

#convert pdf to text
RemoteDepthReader = download_loader("RemoteDepthReader")
loader = RemoteDepthReader()

documents = loader.load_data(url=pdf_file_url)
pdf_text = documents[0].get_text()


its working on the local but when I put it on server, it only returns the text from the first page only.

Do anyone know why?
3 comments
A
L