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
commit b7ccf98b47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)