Browse Source

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)
tags/v0.9.0
Yuhao Tsui 1 year ago
parent
commit
7f4c63d102
No account linked to committer's email address
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      deepdoc/parser/pdf_parser.py

+ 0
- 1
deepdoc/parser/pdf_parser.py View File

@@ -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):

Loading…
Cancel
Save