abhivsh commited on
Commit
dc50cde
·
verified ·
1 Parent(s): a803cdd

Update gen_splits.py

Browse files
Files changed (1) hide show
  1. gen_splits.py +5 -1
gen_splits.py CHANGED
@@ -4,7 +4,11 @@ import os
4
  import download_and_extract_zip
5
 
6
  def gen_splits():
7
- download_and_extract_zip.download_and_extract_zip()
 
 
 
 
8
  file_paths = os.listdir('Model_TS')
9
  new_file_paths = [os.getcwd() +"/Model_TS/"+ file for file in file_paths]
10
  loaders = []
 
4
  import download_and_extract_zip
5
 
6
  def gen_splits():
7
+
8
+ URL = os.getenv('URL')
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')
13
  new_file_paths = [os.getcwd() +"/Model_TS/"+ file for file in file_paths]
14
  loaders = []