Procházet zdrojové kódy

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 před 1 rokem
rodič
revize
7f4c63d102
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0
    1
      deepdoc/parser/pdf_parser.py

+ 0
- 1
deepdoc/parser/pdf_parser.py Zobrazit soubor

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

Načítá se…
Zrušit
Uložit