Spaces:
Runtime error
Runtime error
ernestchu
commited on
Commit
•
601c811
1
Parent(s):
be0f24a
update
Browse files- .gitignore +1 -0
- app.py +1 -1
.gitignore
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
flagged
|
2 |
frames
|
3 |
videos
|
|
|
|
1 |
flagged
|
2 |
frames
|
3 |
videos
|
4 |
+
app.local.py
|
app.py
CHANGED
@@ -48,7 +48,7 @@ def download_video(url):
|
|
48 |
except FileExistsError:
|
49 |
pass
|
50 |
# clear the "videos" folder
|
51 |
-
videos_to_keep = ['
|
52 |
if len(list(path_videos.glob('*'))) > 10:
|
53 |
for path_video in path_videos.glob('*'):
|
54 |
if path_video.stem not in set(videos_to_keep):
|
|
|
48 |
except FileExistsError:
|
49 |
pass
|
50 |
# clear the "videos" folder
|
51 |
+
videos_to_keep = ['LPGUtKKO6F8', 'wJCXBGPo5c8','RicOR0oHATY']
|
52 |
if len(list(path_videos.glob('*'))) > 10:
|
53 |
for path_video in path_videos.glob('*'):
|
54 |
if path_video.stem not in set(videos_to_keep):
|