mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 15:15:53 +08:00
fix: Delete hardcode (#1464)
### What problem does this PR solve? After checking the language of the pdf, the line will hardcode the language into Chinese ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
3e9f444e6b
commit
7f4c63d102
@ -999,7 +999,6 @@ class RAGFlowPdfParser:
|
|||||||
self.is_english = True
|
self.is_english = True
|
||||||
else:
|
else:
|
||||||
self.is_english = False
|
self.is_english = False
|
||||||
self.is_english = False
|
|
||||||
|
|
||||||
st = timer()
|
st = timer()
|
||||||
for i, img in enumerate(self.page_images):
|
for i, img in enumerate(self.page_images):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user