Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,8 +37,11 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 37 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 38 |
|
| 39 |
|
| 40 |
-
web_search_tool = DuckDuckGoSearchTool(max_results=5)
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
|
| 44 |
final_answer = FinalAnswerTool()
|
|
|
|
| 37 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 38 |
|
| 39 |
|
| 40 |
+
web_search_tool = DuckDuckGoSearchTool(max_results=5,query)
|
| 41 |
+
"""A tool that lets you search on the internet .
|
| 42 |
+
Args:
|
| 43 |
+
max_results: Maximum number of search results to return.
|
| 44 |
+
query : Query to be searched"""
|
| 45 |
|
| 46 |
|
| 47 |
final_answer = FinalAnswerTool()
|