rhagenba commited on
Commit
de83732
·
verified ·
1 Parent(s): 7ece731

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import datetime
3
  import requests
4
  import pytz
5
  import yaml
6
- from tools.DuckDuckGoSearchTool import DDGS
7
  from tools.final_answer import FinalAnswerTool
8
 
9
 
@@ -31,7 +31,7 @@ def web_search(query: str, max_results: int = 5):
31
  })
32
  return results
33
 
34
- DuckDuckGoSearchTool = DDGS()
35
 
36
  @tool
37
  def get_current_time_in_timezone(timezone: str) -> str:
 
3
  import requests
4
  import pytz
5
  import yaml
6
+ from tools.ddgs import DDGS
7
  from tools.final_answer import FinalAnswerTool
8
 
9
 
 
31
  })
32
  return results
33
 
34
+ ddgs = DDGS()
35
 
36
  @tool
37
  def get_current_time_in_timezone(timezone: str) -> str: