Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -222,7 +222,7 @@ tools: List[Tool] = [
|
|
| 222 |
),
|
| 223 |
Tool(name="InternetSearch", func=internet_search, description="Search the internet for real-time information using DuckDuckGo. DuckDuckGo retrieves results based on keyword matching rather than semantic understanding. Use most relevant keywords when querying it.\n when searching: first, start with one keyword and then try to add more words gradually depending on the results of the previous search to narrow the search scope to find the satisfactive answer.\n "),
|
| 224 |
|
| 225 |
-
Tool(name="MediaAnalyzer", func=analyze_media, description="Use this tool when you need to analyze an image , audio or a video.\n"
|
| 226 |
"image_url / audio url /video_url: the URL that you resieved to the image /audio/ video"
|
| 227 |
"- Input must be a user question and a direct media URL (image or video).\n"
|
| 228 |
"- For images/audio: provide the link to the image/audio exactly like : https://huggingface.co/spaces/Mustafa-albakkar/Agent_Assignment/resolve/main/{image_url}\n"
|
|
|
|
| 222 |
),
|
| 223 |
Tool(name="InternetSearch", func=internet_search, description="Search the internet for real-time information using DuckDuckGo. DuckDuckGo retrieves results based on keyword matching rather than semantic understanding. Use most relevant keywords when querying it.\n when searching: first, start with one keyword and then try to add more words gradually depending on the results of the previous search to narrow the search scope to find the satisfactive answer.\n "),
|
| 224 |
|
| 225 |
+
Tool(name="MediaAnalyzer", func=analyze_media, description=("Use this tool when you need to analyze an image , audio or a video.\n"
|
| 226 |
"image_url / audio url /video_url: the URL that you resieved to the image /audio/ video"
|
| 227 |
"- Input must be a user question and a direct media URL (image or video).\n"
|
| 228 |
"- For images/audio: provide the link to the image/audio exactly like : https://huggingface.co/spaces/Mustafa-albakkar/Agent_Assignment/resolve/main/{image_url}\n"
|