Преглед изворни кода

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 година
родитељ
комит
7f4c63d102
No account linked to committer's email address
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0
    1
      deepdoc/parser/pdf_parser.py

+ 0
- 1
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):

Loading…
Откажи
Сачувај