Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: Delete hardcode (#1464)

Yuhao Tsui7f4c63d10243
diff --git a/deepdoc/parser/pdf_parser.py b/deepdoc/parser/pdf_parser.py
index c7aaa9d580..819bc74850 100644
--- a/deepdoc/parser/pdf_parser.py
+++ b/deepdoc/parser/pdf_parser.py
@@ -999,7 +999,6 @@ class RAGFlowPdfParser:
self.is_english = True
else:
self.is_english = False
- self.is_english = False
st = timer()
for i, img in enumerate(self.page_images):