ORromu commited on
Commit
b6eefe6
·
verified ·
1 Parent(s): 583c360

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import requests
4
  import inspect
5
  import pandas as pd
6
  import time
7
- from smolagents import CodeAgent, OpenAIServerModel, DuckDuckGoSearchTool, WikipediaSearchTool
8
  from smolagents.agents import PromptTemplates
9
 
10
  GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
@@ -24,7 +24,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
24
  class BasicAgent:
25
  def __init__(self):
26
  self.agent = CodeAgent(
27
- tools = [DuckDuckGoSearchTool(), WikipediaSearchTool()],
28
  model = model,
29
  add_base_tools=True,
30
  )
 
4
  import inspect
5
  import pandas as pd
6
  import time
7
+ from smolagents import CodeAgent, OpenAIServerModel, DuckDuckGoSearchTool, GoogleSearchTool, WikipediaSearchTool, VisitWebpageTool, PythonInterpreterTool
8
  from smolagents.agents import PromptTemplates
9
 
10
  GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
 
24
  class BasicAgent:
25
  def __init__(self):
26
  self.agent = CodeAgent(
27
+ tools = [DuckDuckGoSearchTool(), GoogleSearchTool(), WikipediaSearchTool(), VisitWebpageTool(), PythonInterpreterTool()],
28
  model = model,
29
  add_base_tools=True,
30
  )