Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Step 1: Define the Web Search Tool
|
2 |
search_tool = DuckDuckGoSearchTool(max_results=5) # Searches the web using DuckDuckGo
|
3 |
|
|
|
1 |
+
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool, tool
|
2 |
+
import datetime
|
3 |
+
import requests
|
4 |
+
import pytz
|
5 |
+
import yaml
|
6 |
+
from tools.final_answer import FinalAnswerTool
|
7 |
+
|
8 |
# Step 1: Define the Web Search Tool
|
9 |
search_tool = DuckDuckGoSearchTool(max_results=5) # Searches the web using DuckDuckGo
|
10 |
|