Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import datetime
|
|
| 3 |
import requests
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
-
from tools.
|
| 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 |
-
|
| 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:
|