Spaces:
Sleeping
Sleeping
Update app.py
Browse files4 unmodified lines5678910115 unmodified lines171819202122234 unmodified linesimport pandas as pdimport smolagentsfrom smolagents import CodeAgent, GoogleSearchTool, HfApiModel, VisitWebpageToolfrom smol_agents.tools.python import PythonREPLTool# (Keep Constants as is)# --- Constants ---5 unmodified linesdef __init__(self):model = HfApiModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct") #, provider="together")self.agent = CodeAgent(tools=[GoogleSearchTool(), PythonREPLTool()],model=model,add_base_tools=True, # Add any additional base toolsmax_steps=15,4 unmodified lines5678910115 unmodified lines171819202122234 unmodified linesimport pandas as pdimport smolagentsfrom smolagents import CodeAgent, GoogleSearchTool, HfApiModel, VisitWebpageTool#from smol_agents.tools.python import PythonREPLTool# (Keep Constants as is)# --- Constants ---5 unmodified linesdef __init__(self):model = HfApiModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct") #, provider="together")self.agent = CodeAgent(tools=[GoogleSearchTool()]#, PythonREPLTool()],model=model,add_base_tools=True, # Add any additional base toolsmax_steps=15,
app.py+2-2