This commit is contained in:
2025-08-28 07:32:04 +08:00
parent 67adcf5e79
commit 31ab2d4127
10 changed files with 76 additions and 9 deletions

View File

@@ -1,12 +1,8 @@
import logging
import os
import subprocess
import uuid
from PIL import Image
import os
from networkx.algorithms.bipartite.centrality import betweenness_centrality
# 或者如果你想更详细地控制日志输出
logger = logging.getLogger('DocxUtil')
@@ -143,3 +139,4 @@ def get_docx_content_by_pandoc(docx_file):
return content.replace("\n\n", "\n").replace("\\", "/")
else:
return None