mnavas commited on
Commit
d6f35db
·
verified ·
1 Parent(s): b7a87ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import inspect
5
  import pandas as pd
6
  import smolagents
7
  from smolagents import CodeAgent, GoogleSearchTool, HfApiModel, VisitWebpageTool
8
- from smol_agents.tools.python import PythonREPLTool
9
 
10
  # (Keep Constants as is)
11
  # --- Constants ---
@@ -17,7 +17,7 @@ class BasicAgent:
17
  def __init__(self):
18
  model = HfApiModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct") #, provider="together")
19
  self.agent = CodeAgent(
20
- tools=[GoogleSearchTool(), PythonREPLTool()],
21
  model=model,
22
  add_base_tools=True, # Add any additional base tools
23
  max_steps=15,
 
5
  import pandas as pd
6
  import smolagents
7
  from smolagents import CodeAgent, GoogleSearchTool, HfApiModel, VisitWebpageTool
8
+ #from smol_agents.tools.python import PythonREPLTool
9
 
10
  # (Keep Constants as is)
11
  # --- Constants ---
 
17
  def __init__(self):
18
  model = HfApiModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct") #, provider="together")
19
  self.agent = CodeAgent(
20
+ tools=[GoogleSearchTool()]#, PythonREPLTool()],
21
  model=model,
22
  add_base_tools=True, # Add any additional base tools
23
  max_steps=15,