samih-7 commited on
Commit
0a016a9
·
verified ·
1 Parent(s): f1acb6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -14,10 +14,10 @@ ddg = DuckDuckGoSearchTool(max_results=5)
14
 
15
  @tool
16
  def web_search(query:str)-> str:
17
- # """A tool that runs a DuckDuckGo search and returns a formatted result.
18
- # Args:
19
- # query: A string representing the query to search for.
20
- # """
21
  try:
22
  results = ddg(query)
23
  return results
 
14
 
15
  @tool
16
  def web_search(query:str)-> str:
17
+ """A tool that runs a DuckDuckGo search and returns a formatted result.
18
+ Args:
19
+ query: A string representing the query to search for.
20
+ """
21
  try:
22
  results = ddg(query)
23
  return results