diff --git a/dsLightRag/ShiTi/T3_DocxToMd.py b/dsLightRag/ShiTi/T3_DocxToMd.py index 68356952..60203c84 100644 --- a/dsLightRag/ShiTi/T3_DocxToMd.py +++ b/dsLightRag/ShiTi/T3_DocxToMd.py @@ -111,7 +111,7 @@ async def main(): # 重新组合内容 formatted_content = "\n\n".join(questions) - with open(finalName, 'w', encoding='utf-8') as f: + with open(path + r'/测试.md' , 'w', encoding='utf-8') as f: f.write(formatted_content) # 将path目录下的images目录,整体拷贝到 output下 shutil.rmtree(output_dir + r'/images')