|
|
|
@ -90,8 +90,8 @@ async def main():
|
|
|
|
|
f.write(content)
|
|
|
|
|
|
|
|
|
|
# 新增:使用大模型整理内容
|
|
|
|
|
format_exam_content(raw_text=content, output_path=os.path.join(output_dir, "物理Docx整理后的结果.md"))
|
|
|
|
|
logger.info(f"内容整理完成,保存至: {os.path.join(output_dir, '物理Docx整理后的结果.md')}")
|
|
|
|
|
format_exam_content(raw_text=content, output_path=os.path.join(output_dir, fileName+".md"))
|
|
|
|
|
logger.info(f"内容整理完成,保存至: {os.path.join(output_dir, fileName+'.md')}")
|
|
|
|
|
|
|
|
|
|
# 将path目录下的images目录,整体拷贝到 output下
|
|
|
|
|
shutil.copytree(path + r'/images', output_dir + r'/images')
|
|
|
|
|