mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 00:23:17 +00:00
Inputs folder change
This commit is contained in:
@@ -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 = []
|
||||
|
||||
@@ -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)
|
||||
shutil.rmtree(dst_dir)
|
||||
Reference in New Issue
Block a user