Merge pull request #300 from WinstonCHEN1/main
fix:error working directory name in Step_1.py
This commit is contained in:
commit
b7ccf98b47
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue