Spaces:
Sleeping
Sleeping
mchinea
commited on
Commit
·
413ad0f
1
Parent(s):
504e150
add duckducksearch tool
Browse files- agent_smolagent.py +1 -1
- requirements.txt +1 -1
agent_smolagent.py
CHANGED
@@ -8,7 +8,7 @@ from pathlib import Path
|
|
8 |
|
9 |
from smolagents import CodeAgent, GradioUI, OpenAIServerModel
|
10 |
|
11 |
-
from smolagents.default_tools import (
|
12 |
VisitWebpageTool,
|
13 |
WikipediaSearchTool,
|
14 |
SpeechToTextTool,
|
|
|
8 |
|
9 |
from smolagents import CodeAgent, GradioUI, OpenAIServerModel
|
10 |
|
11 |
+
from smolagents.default_tools import (DuckDuckGoSearchTool,
|
12 |
VisitWebpageTool,
|
13 |
WikipediaSearchTool,
|
14 |
SpeechToTextTool,
|
requirements.txt
CHANGED
@@ -19,4 +19,4 @@ wikipedia-api
|
|
19 |
smolagents
|
20 |
smolagents[transformers]
|
21 |
smolagents[openai]
|
22 |
-
|
|
|
19 |
smolagents
|
20 |
smolagents[transformers]
|
21 |
smolagents[openai]
|
22 |
+
duckduckgo_search
|