Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +20,9 @@ class BasicAgent:
|
|
| 20 |
web_search = Web_research()
|
| 21 |
image_tool = image_interpreter()
|
| 22 |
python_code_tool = PythonInterpreterTool()
|
|
|
|
| 23 |
alfred=CodeAgent(
|
| 24 |
-
tools=[web_search, image_tool,python_code_tool],
|
| 25 |
model=HfApiModel("HuggingFaceTB/SmolLM-135M-Instruct",token=os.environ.get("HF_TOKEN")),
|
| 26 |
add_base_tools=True,
|
| 27 |
max_print_outputs_length = 100
|
|
|
|
| 20 |
web_search = Web_research()
|
| 21 |
image_tool = image_interpreter()
|
| 22 |
python_code_tool = PythonInterpreterTool()
|
| 23 |
+
wiki_tool = Wikipedia_reader()
|
| 24 |
alfred=CodeAgent(
|
| 25 |
+
tools=[wiki_tool,web_search, image_tool,python_code_tool],
|
| 26 |
model=HfApiModel("HuggingFaceTB/SmolLM-135M-Instruct",token=os.environ.get("HF_TOKEN")),
|
| 27 |
add_base_tools=True,
|
| 28 |
max_print_outputs_length = 100
|