Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,8 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
| 23 |
## My Stuff
|
| 24 |
###############
|
| 25 |
|
| 26 |
-
from smolagents import DuckDuckGoSearchTool
|
|
|
|
| 27 |
|
| 28 |
# Initialize the DuckDuckGo search tool
|
| 29 |
search_tool = DuckDuckGoSearchTool()
|
|
|
|
| 23 |
## My Stuff
|
| 24 |
###############
|
| 25 |
|
| 26 |
+
# from smolagents import DuckDuckGoSearchTool
|
| 27 |
+
from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
|
| 28 |
|
| 29 |
# Initialize the DuckDuckGo search tool
|
| 30 |
search_tool = DuckDuckGoSearchTool()
|