JenitaJohn commited on
Commit
658ddd3
·
verified ·
1 Parent(s): 703c862

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,10 +4,10 @@ import requests
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
 
7
 
8
  from Gradio_UI import GradioUI
9
 
10
- web_search_tool = DuckDuckGoSearchTool(max_results=5)
11
 
12
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
13
  # world cup today status
@@ -36,7 +36,7 @@ def fifa_world_cup_2026_status() -> str:
36
 
37
  for query in queries:
38
  try:
39
- results = web_search_tool(query)
40
 
41
  if results:
42
  return str(results)
 
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
+ from tools.web_search import DuckDuckGoSearchTool
8
 
9
  from Gradio_UI import GradioUI
10
 
 
11
 
12
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
13
  # world cup today status
 
36
 
37
  for query in queries:
38
  try:
39
+ results = DuckDuckGoSearchTool(query)
40
 
41
  if results:
42
  return str(results)