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:
Yuhao Tsui 2024-07-11 15:41:31 +08:00 committed by GitHub
parent 3e9f444e6b
commit 7f4c63d102
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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