Update api/core/rag/extractor/pdf_extractor.py
Since page.extract_text() may return None when no text is found, consider adding a check before performing encoding operations to avoid potential AttributeError. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>pull/19056/head
parent
236c9d64c3
commit
370a785d48
Loading…
Reference in New Issue