Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
3d8eae6
1
Parent(s):
97224a8
fix
Browse files
convert_to_fen_tool copy.py → convert_to_fen_tool.py
RENAMED
File without changes
|
count_max_bird_species_tool.py
CHANGED
@@ -17,6 +17,7 @@ def count_max_bird_species_in_video(youtube_url: str) -> int:
|
|
17 |
"""
|
18 |
|
19 |
# frames = sample_youtube_video(youtube_url, 5)
|
|
|
20 |
youtube_video_in_base_64 = os.path.join(BASE_DIR, 'files', frames_youtube_birds_video.b64)
|
21 |
print('youtube video path: ' + youtube_video_in_base_64)
|
22 |
frames = read_list_from_txt(youtube_video_in_base_64)
|
|
|
17 |
"""
|
18 |
|
19 |
# frames = sample_youtube_video(youtube_url, 5)
|
20 |
+
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
21 |
youtube_video_in_base_64 = os.path.join(BASE_DIR, 'files', frames_youtube_birds_video.b64)
|
22 |
print('youtube video path: ' + youtube_video_in_base_64)
|
23 |
frames = read_list_from_txt(youtube_video_in_base_64)
|