Spaces:
Sleeping
Sleeping
mchinea
commited on
Commit
·
504e150
1
Parent(s):
fd7d98e
agent
Browse files- agent_smolagent.py +2 -2
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 (DuckDuckGoSearchTool,
|
12 |
VisitWebpageTool,
|
13 |
WikipediaSearchTool,
|
14 |
SpeechToTextTool,
|
@@ -50,7 +50,7 @@ def build_agent():
|
|
50 |
return CodeAgent(
|
51 |
model=model_desp,
|
52 |
tools=[#FinalAnswerTool(),
|
53 |
-
DuckDuckGoSearchTool(),
|
54 |
VisitWebpageTool(max_output_length=500000),
|
55 |
WikipediaSearchTool(extract_format='HTML'),
|
56 |
SpeechToTextTool(),
|
|
|
8 |
|
9 |
from smolagents import CodeAgent, GradioUI, OpenAIServerModel
|
10 |
|
11 |
+
from smolagents.default_tools import (#DuckDuckGoSearchTool,
|
12 |
VisitWebpageTool,
|
13 |
WikipediaSearchTool,
|
14 |
SpeechToTextTool,
|
|
|
50 |
return CodeAgent(
|
51 |
model=model_desp,
|
52 |
tools=[#FinalAnswerTool(),
|
53 |
+
#DuckDuckGoSearchTool(),
|
54 |
VisitWebpageTool(max_output_length=500000),
|
55 |
WikipediaSearchTool(extract_format='HTML'),
|
56 |
SpeechToTextTool(),
|