Aakash010 commited on
Commit
2a8936a
·
verified ·
1 Parent(s): ce09ac1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -4,6 +4,9 @@ import requests
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
 
 
 
7
 
8
  from Gradio_UI import GradioUI
9
 
@@ -34,7 +37,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
 
37
- search = DuckDuckGoSearchTool()
38
 
39
 
40
  final_answer = FinalAnswerTool()
 
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
+ from tools.
8
+
9
+
10
 
11
  from Gradio_UI import GradioUI
12
 
 
37
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
38
 
39
 
40
+ web_search_tool = DuckDuckGoSearchTool(max_results=5, rate_limit=2.0)
41
 
42
 
43
  final_answer = FinalAnswerTool()