Merge pull request #300 from WinstonCHEN1/main

fix:error working directory name in Step_1.py
This commit is contained in:
zrguo
2024-11-19 09:45:11 +08:00
committed by GitHub

View File

@@ -24,7 +24,7 @@ def insert_text(rag, file_path):
cls = "agriculture"
WORKING_DIR = "../{cls}"
WORKING_DIR = f"../{cls}"
if not os.path.exists(WORKING_DIR):
os.mkdir(WORKING_DIR)