Ankit7rma commited on
Commit
272de49
·
verified ·
1 Parent(s): e314d0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -35,10 +35,17 @@ def get_current_time_in_timezone(timezone: str) -> str:
35
 
36
  web_search = DuckDuckGoSearchTool()
37
 
 
38
  @tool
39
  def web_search(query: str) -> str:
40
- """Search the web using DuckDuckGo."""
 
 
 
 
 
41
  return DuckDuckGoSearchTool()(query)
 
42
  final_answer = FinalAnswerTool()
43
 
44
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
 
35
 
36
  web_search = DuckDuckGoSearchTool()
37
 
38
+
39
  @tool
40
  def web_search(query: str) -> str:
41
+ """
42
+ Searches the web using DuckDuckGo.
43
+
44
+ Args:
45
+ query: The search query string.
46
+ """
47
  return DuckDuckGoSearchTool()(query)
48
+
49
  final_answer = FinalAnswerTool()
50
 
51
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder: