agazo commited on
Commit
ad46712
·
verified ·
1 Parent(s): 7444fba

Update count_max_bird_species_tool.py

Browse files
Files changed (1) hide show
  1. count_max_bird_species_tool.py +1 -1
count_max_bird_species_tool.py CHANGED
@@ -4,7 +4,7 @@ from ultralytics import YOLO
4
  from langchain_core.tools import tool
5
  from utils import decode_base64_to_frame
6
 
7
- @tool(return_direct=True)
8
  def count_max_bird_species_in_video(youtube_url: str) -> int:
9
  """
10
  Count the maximum number of bird species to be on camera simultaneously in a YouTube video.
 
4
  from langchain_core.tools import tool
5
  from utils import decode_base64_to_frame
6
 
7
+ @tool
8
  def count_max_bird_species_in_video(youtube_url: str) -> int:
9
  """
10
  Count the maximum number of bird species to be on camera simultaneously in a YouTube video.