Spaces:
Sleeping
Sleeping
quantumiracle-git
commited on
Commit
·
1ed9279
1
Parent(s):
1f016ad
Update app.py
Browse files
app.py
CHANGED
@@ -24,11 +24,13 @@ os.remove('.git/hooks/pre-push') # https://github.com/git-lfs/git-lfs/issues/85
|
|
24 |
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 |
output = './'
|
29 |
id = url.split('/')[-1]
|
30 |
os.system(f"gdown --id {id} -O {output} --folder --no-cookies --remaining-ok")
|
31 |
-
VIDEO_PATH = 'processed_zip'
|
|
|
32 |
|
33 |
import zipfile
|
34 |
from os import listdir
|
|
|
24 |
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
|