'commit'
This commit is contained in:
@@ -142,14 +142,17 @@ async def train(file_path, output_dir, working_dir):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
# MinerU生成的临时文件目录
|
||||||
|
output_dir = "./Output"
|
||||||
|
|
||||||
|
|
||||||
# LightRag的数据库所在目录
|
# LightRag的数据库所在目录
|
||||||
#working_dir = "./Topic/HuangWanQiao"
|
#working_dir = "./Topic/HuangWanQiao"
|
||||||
working_dir = "./Topic/Excel"
|
working_dir = "./Topic/Excel"
|
||||||
# MinerU生成的临时文件目录
|
|
||||||
output_dir = "./Output"
|
|
||||||
|
|
||||||
# 文档路径
|
# 文档路径
|
||||||
#file_path = "./Doc/黄琬乔2023蓝桥杯省赛准考证.pdf"
|
#file_path = "./Doc/黄琬乔2023蓝桥杯省赛准考证.pdf"
|
||||||
file_path = "./Doc/长春市各区+各年级学生数量.xlsx"
|
file_path = "./Doc/长春市各区+各年级学生数量.xlsx"
|
||||||
|
|
||||||
# 开始训练
|
# 开始训练
|
||||||
asyncio.run(train(file_path, output_dir, working_dir))
|
asyncio.run(train(file_path, output_dir, working_dir))
|
||||||
|
Reference in New Issue
Block a user