Update tools.py
Browse files
tools.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from smolagents import DuckDuckGoSearchTool, VisitWebpageTool, FinalAnswerTool, GoogleSearchTool, WikipediaSearchTool
|
| 2 |
from smolagents import Tool, tool
|
| 3 |
import random
|
| 4 |
from huggingface_hub import list_models
|
|
@@ -18,8 +18,6 @@ final_answer = FinalAnswerTool()
|
|
| 18 |
|
| 19 |
wiki_search = WikipediaSearchTool()
|
| 20 |
|
| 21 |
-
speech_to_text = SpeechToTextTool()
|
| 22 |
-
|
| 23 |
|
| 24 |
class WeatherInfoTool(Tool):
|
| 25 |
name = "weather_info"
|
|
|
|
| 1 |
+
from smolagents import DuckDuckGoSearchTool, VisitWebpageTool, FinalAnswerTool, GoogleSearchTool, WikipediaSearchTool
|
| 2 |
from smolagents import Tool, tool
|
| 3 |
import random
|
| 4 |
from huggingface_hub import list_models
|
|
|
|
| 18 |
|
| 19 |
wiki_search = WikipediaSearchTool()
|
| 20 |
|
|
|
|
|
|
|
| 21 |
|
| 22 |
class WeatherInfoTool(Tool):
|
| 23 |
name = "weather_info"
|