quantumiracle-git commited on
Commit
bf32cb4
·
1 Parent(s): 9617779

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -25,12 +25,15 @@ LOAD_DATA_GOOGLE_DRIVE = True
25
  if LOAD_DATA_GOOGLE_DRIVE: # download data from google drive
26
  # url = 'https://drive.google.com/drive/folders/1JuNQS4R7axTezWj1x4KRAuRt_L26ApxA?usp=sharing' # './processed/' folder in google drive
27
  # url = 'https://drive.google.com/drive/folders/1o8Q9eX-J7F326zv4g2MZWlzR46uVkUF2?usp=sharing' # './processed_zip/' folder in google drive
28
- url = 'https://drive.google.com/drive/folders/1ZWgpPiZwnWfwlwta8Tu-Jtu2HsS7HAEa?usp=share_link' # './filter_processed_zip/' folder in google drive
 
 
29
  output = './'
30
  id = url.split('/')[-1]
31
  os.system(f"gdown --id {id} -O {output} --folder --no-cookies --remaining-ok")
32
  # VIDEO_PATH = 'processed_zip'
33
- VIDEO_PATH = 'filter_processed_zip'
 
34
 
35
  import zipfile
36
  from os import listdir
 
25
  if LOAD_DATA_GOOGLE_DRIVE: # download data from google drive
26
  # url = 'https://drive.google.com/drive/folders/1JuNQS4R7axTezWj1x4KRAuRt_L26ApxA?usp=sharing' # './processed/' folder in google drive
27
  # url = 'https://drive.google.com/drive/folders/1o8Q9eX-J7F326zv4g2MZWlzR46uVkUF2?usp=sharing' # './processed_zip/' folder in google drive
28
+ # url = 'https://drive.google.com/drive/folders/1ZWgpPiZwnWfwlwta8Tu-Jtu2HsS7HAEa?usp=share_link' # './filter_processed_zip/' folder in google drive
29
+ url = 'https://drive.google.com/drive/folders/1AYOBLhkgYDeTyGktXN1wpNlwvWVxO8pt?usp=share_link' # './split_processed_zip/' folder in google drive
30
+
31
  output = './'
32
  id = url.split('/')[-1]
33
  os.system(f"gdown --id {id} -O {output} --folder --no-cookies --remaining-ok")
34
  # VIDEO_PATH = 'processed_zip'
35
+ # VIDEO_PATH = 'filter_processed_zip'
36
+ VIDEO_PATH = 'split_processed_zip'
37
 
38
  import zipfile
39
  from os import listdir