Alexandre Gazola commited on
Commit
3f92e8d
·
1 Parent(s): d11b253
Files changed (1) hide show
  1. count_max_bird_species_tool.py +2 -2
count_max_bird_species_tool.py CHANGED
@@ -13,7 +13,7 @@ def count_max_bird_species_in_video(youtube_url: str) -> int:
13
  - youtube_url: str: the URL of the YouTube video.
14
 
15
  Returns:
16
- - str: A sentence describing the maximum number of bird species detected in the YouTube video.
17
  """
18
 
19
  # frames = sample_youtube_video(youtube_url, 5)
@@ -24,7 +24,7 @@ def count_max_bird_species_in_video(youtube_url: str) -> int:
24
 
25
  max_species = count_max_bird_species(frames)
26
 
27
- return f"The maximum number of bird species detected in the video is {max_species}."
28
 
29
  def count_max_bird_species(framesStr: list[str]) -> int:
30
  """
 
13
  - youtube_url: str: the URL of the YouTube video.
14
 
15
  Returns:
16
+ - int: the maximum number of bird species detected in the YouTube video.
17
  """
18
 
19
  # frames = sample_youtube_video(youtube_url, 5)
 
24
 
25
  max_species = count_max_bird_species(frames)
26
 
27
+ return max_species
28
 
29
  def count_max_bird_species(framesStr: list[str]) -> int:
30
  """