fix:error working directory name in Step_1.py

This commit is contained in:
WinstonCHEN1
2024-11-18 14:24:04 -08:00
parent 2022578323
commit 8cc98e13ac

View File

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