This commit is contained in:
2025-08-26 16:16:47 +08:00
parent 2078c364c6
commit 6035e83d57
3 changed files with 4 additions and 3 deletions

View File

@@ -143,12 +143,13 @@ async def train(file_path, output_dir, working_dir):
if __name__ == "__main__":
# LightRag的数据库所在目录
working_dir = "./Topic/HuangWanQiao"
#working_dir = "./Topic/HuangWanQiao"
working_dir = "./Topic/Excel"
# MinerU生成的临时文件目录
output_dir = "./Output"
# 文档路径
file_path = "./Doc/黄琬乔2023蓝桥杯省赛准考证.pdf"
#file_path = "./Doc/黄琬乔2023蓝桥杯省赛准考证.pdf"
file_path = "./Doc/长春市各区+各年级学生数量.xlsx"
# 开始训练
asyncio.run(train(file_path, output_dir, working_dir))