diff --git a/scripts/ingest_rst.py b/scripts/ingest_rst.py index a23cbedc..3f481bec 100644 --- a/scripts/ingest_rst.py +++ b/scripts/ingest_rst.py @@ -44,7 +44,7 @@ def get_user_permission(): dotenv.load_dotenv() # Here we load in the data in the format that Notion exports it in. -ps = list(Path("scikit-learn").glob("**/*.rst")) +ps = list(Path("inputs").glob("**/*.rst")) # parse all child directories data = [] diff --git a/scripts/ingest_rst_sphinx.py b/scripts/ingest_rst_sphinx.py index f2a92638..cdab797a 100644 --- a/scripts/ingest_rst_sphinx.py +++ b/scripts/ingest_rst_sphinx.py @@ -66,7 +66,7 @@ def get_user_permission(): dotenv.load_dotenv() #Directory to vector -src_dir = "scikit-learn" +src_dir = "inputs" dst_dir = "tmp" convert_rst_to_txt(src_dir, dst_dir) @@ -106,4 +106,4 @@ else: # Delete tmp folder # Commented out for now -#shutil.rmtree(dst_dir) \ No newline at end of file +shutil.rmtree(dst_dir) \ No newline at end of file