瀏覽代碼

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: