wiki_search and speech_to_text
Browse fileswiki_search = SpeechToTextTool()
speech_to_text = SpeechToTextTool()
123411 unmodified lines161718192021from smolagents import DuckDuckGoSearchTool, VisitWebpageTool, FinalAnswerTool, GoogleSearchToolfrom smolagents import Tool, toolimport randomfrom huggingface_hub import list_models11 unmodified linesfinal_answer = FinalAnswerTool()class WeatherInfoTool(Tool):name = "weather_info"description = "Fetches dummy weather information for a given location."123411 unmodified lines1617181920212223242526from smolagents import DuckDuckGoSearchTool, VisitWebpageTool, FinalAnswerTool, GoogleSearchTool, WikipediaSearchTool, SpeechToTextToolfrom smolagents import Tool, toolimport randomfrom huggingface_hub import list_models11 unmodified linesfinal_answer = FinalAnswerTool()wiki_search = SpeechToTextTool()speech_to_text = SpeechToTextTool()class WeatherInfoTool(Tool):name = "weather_info"description = "Fetches dummy weather information for a given location."
tools.py+6-1