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
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue