Ver Fonte

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

myhloli há 3 semanas atrás
pai
commit
a0810b5b6e
1 ficheiros alterados com 1 adições e 0 exclusões
  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: