muhammadnst commited on
Commit
99567c0
·
verified ·
1 Parent(s): 535ba07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
2
  from tavily import TavilyClient
3
  import os
4
  import spaces
@@ -48,7 +48,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
48
 
49
  @tool
50
  def web_search(query: str) -> str:
51
- """Use this tool to search the internet for live/current information like news, prices, or weather.
52
 
53
  Args:
54
  query: The search term or question to look up on the web.
 
1
+ from smolagents import CodeAgent,HfApiModel,load_tool,tool
2
  from tavily import TavilyClient
3
  import os
4
  import spaces
 
48
 
49
  @tool
50
  def web_search(query: str) -> str:
51
+ """Performs a web search using Tavily API to fetch up-to-date real-time information.
52
 
53
  Args:
54
  query: The search term or question to look up on the web.