Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
| 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)
|