Open SaiTeja-002 opened 1 year ago
The code actually works for PDFs that have a single page. But if a PDF has multiple pages, then the text is getting overwritten with the contents of the new page. So, to avoid that I appended the new page's content to the current text.
The code actually works for PDFs that have a single page. But if a PDF has multiple pages, then the text is getting overwritten with the contents of the new page. So, to avoid that I appended the new page's content to the current text.