瀏覽代碼

refactor: comment out clean_memory function call

- Remove the call to clean_memory() function from pdf_parse_union_core_v2.py
- This change may affect memory usage and needs to be tested to ensure proper functionality
myhloli 11 月之前
父節點
當前提交
2b6e94424c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      magic_pdf/pdf_parse_union_core_v2.py

+ 1 - 1
magic_pdf/pdf_parse_union_core_v2.py

@@ -825,7 +825,7 @@ def pdf_parse_union(
         'pdf_info': pdf_info_list,
         'pdf_info': pdf_info_list,
     }
     }
 
 
-    clean_memory()
+    # clean_memory()
 
 
     return new_pdf_info_dict
     return new_pdf_info_dict