Sborole commited on
Commit
bacd706
·
verified ·
1 Parent(s): f4ccb28

Update tools/YouTubeTool.py

Browse files
Files changed (1) hide show
  1. tools/YouTubeTool.py +1 -1
tools/YouTubeTool.py CHANGED
@@ -5,7 +5,7 @@ class YouTubeTool(Tool):
5
  name = "youtube reader"
6
  description= "Fetches the transcript for the youtube video url"
7
  inputs= {"video_url": {"type": "string"}, "description": "URL or ID of the Youtube video"}
8
- output_string = "string"
9
 
10
  def forward(self, video_url: str) -> str:
11
  video_id = video_url.split("v=")[-1] # basic extraction
 
5
  name = "youtube reader"
6
  description= "Fetches the transcript for the youtube video url"
7
  inputs= {"video_url": {"type": "string"}, "description": "URL or ID of the Youtube video"}
8
+ output_type = "string"
9
 
10
  def forward(self, video_url: str) -> str:
11
  video_id = video_url.split("v=")[-1] # basic extraction