clintonvanry commited on
Commit
40130ed
·
verified ·
1 Parent(s): e311a66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def get_weather(city: str) -> str: # Fixed comment syntax and function name
20
  """
21
  try:
22
  # Initialize the search tool correctly
23
- web_search_tool = DuckDuckGoSearchTool(max_results=3, rate_limit=2.0)
24
  web_search_tool.setup() # Call setup on the instance, not the class
25
 
26
  # Search for weather information
 
20
  """
21
  try:
22
  # Initialize the search tool correctly
23
+ web_search_tool = DuckDuckGoSearchTool(max_results=3)
24
  web_search_tool.setup() # Call setup on the instance, not the class
25
 
26
  # Search for weather information