Sborole commited on
Commit
8273c18
·
verified ·
1 Parent(s): 7dab6f9

Update tools/ReadVideoTool.py

Browse files
Files changed (1) hide show
  1. tools/ReadVideoTool.py +6 -1
tools/ReadVideoTool.py CHANGED
@@ -2,7 +2,12 @@ from smolagents import Tool
2
  class ReadVideoTool(Tool):
3
  name = "read_video"
4
  description = "Reads a video file and returns base64 so Gemini can analyze it."
5
- inputs = {"file_path": {"type": "string"}}
 
 
 
 
 
6
  output_type = "string"
7
 
8
  def forward(self, file_path: str) -> str:
 
2
  class ReadVideoTool(Tool):
3
  name = "read_video"
4
  description = "Reads a video file and returns base64 so Gemini can analyze it."
5
+ inputs = {
6
+ "file_path": {
7
+ "type": "string",
8
+ "description": "The full path of the text file to read"
9
+ }
10
+ }
11
  output_type = "string"
12
 
13
  def forward(self, file_path: str) -> str: