Spaces:
Runtime error
Runtime error
Update gen_splits.py
Browse files- gen_splits.py +2 -2
gen_splits.py
CHANGED
@@ -9,8 +9,8 @@ def gen_splits():
|
|
9 |
destination_folder = os.getcwd()
|
10 |
download_and_extract_zip.download_and_extract_zip(URL, destination_folder)
|
11 |
|
12 |
-
file_paths = os.listdir('
|
13 |
-
new_file_paths = [os.getcwd() +"/
|
14 |
loaders = []
|
15 |
for file_path in new_file_paths:
|
16 |
if file_path.lower().endswith(".pdf"):
|
|
|
9 |
destination_folder = os.getcwd()
|
10 |
download_and_extract_zip.download_and_extract_zip(URL, destination_folder)
|
11 |
|
12 |
+
file_paths = os.listdir('Model_TS_Full')
|
13 |
+
new_file_paths = [os.getcwd() +"/Model_TS_Full/"+ file for file in file_paths]
|
14 |
loaders = []
|
15 |
for file_path in new_file_paths:
|
16 |
if file_path.lower().endswith(".pdf"):
|