Explorar el Código

Merge pull request #631 from myhloli/dev

feat(UNIPipe): change default drop_mode to NONE_WITH_REASON
Xiaomeng Zhao hace 1 año
padre
commit
fb383ba668
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      magic_pdf/pipe/UNIPipe.py

+ 1 - 1
magic_pdf/pipe/UNIPipe.py

@@ -47,7 +47,7 @@ class UNIPipe(AbsPipe):
                                               start_page_id=self.start_page_id, end_page_id=self.end_page_id,
                                               lang=self.lang)
 
-    def pipe_mk_uni_format(self, img_parent_path: str, drop_mode=DropMode.WHOLE_PDF):
+    def pipe_mk_uni_format(self, img_parent_path: str, drop_mode=DropMode.NONE_WITH_REASON):
         result = super().pipe_mk_uni_format(img_parent_path, drop_mode)
         logger.info("uni_pipe mk content list finished")
         return result