fixed tool parsing issue in tools.py
Browse files
tools.py
CHANGED
|
@@ -352,11 +352,11 @@ def question_youtube_video(video_url: str, query: str) -> str:
|
|
| 352 |
Captured frames are sent sequentially to a multimodal model to answer the question about the video.
|
| 353 |
The final answer is aggregated from the answers to each frame.
|
| 354 |
DOES NOT USE AUDIO! ONLY FRAMES FROM THE VIDEO ARE USED TO ANSWER THE QUESTION.
|
| 355 |
-
|
| 356 |
Args:
|
| 357 |
video_url (str): The URL of the video to capture frames from.
|
| 358 |
query (str): The question to answer about the video.
|
| 359 |
-
|
| 360 |
Returns:
|
| 361 |
str: The answer to the question about the video.
|
| 362 |
"""
|
|
|
|
| 352 |
Captured frames are sent sequentially to a multimodal model to answer the question about the video.
|
| 353 |
The final answer is aggregated from the answers to each frame.
|
| 354 |
DOES NOT USE AUDIO! ONLY FRAMES FROM THE VIDEO ARE USED TO ANSWER THE QUESTION.
|
| 355 |
+
|
| 356 |
Args:
|
| 357 |
video_url (str): The URL of the video to capture frames from.
|
| 358 |
query (str): The question to answer about the video.
|
| 359 |
+
|
| 360 |
Returns:
|
| 361 |
str: The answer to the question about the video.
|
| 362 |
"""
|