ソースを参照

fix: add debug logging for LaTeX text processing in processors.py

myhloli 3 週間 前
コミット
a0810b5b6e
1 ファイル変更1 行追加0 行削除
  1. 1 0
      mineru/model/mfr/pp_formulanet_plus_m/processors.py

+ 1 - 0
mineru/model/mfr/pp_formulanet_plus_m/processors.py

@@ -609,6 +609,7 @@ class UniMERNetDecode(object):
         text = fix_text(text)
         # logger.debug(f"Text after ftfy fix: {text}")
         text = self.fix_latex(text)
+        # logger.debug(f"Text after LaTeX fix: {text}")
         return text
 
     def fix_latex(self, text: str) -> str: