Sagicc commited on
Commit
9793338
·
verified ·
1 Parent(s): 881bd21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -4,7 +4,6 @@ import requests
4
  import inspect
5
  import pandas as pd
6
  from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
7
- from smolagents.agents import ToolCallingAgent
8
 
9
  # (Keep Constants as is)
10
  # --- Constants ---
@@ -22,7 +21,6 @@ class BasicAgent:
22
  self.agent = CodeAgent(
23
  tools=[search_tool],
24
  model=model,
25
- additional_authorized_imports=["yfinance"] # Move this parameter here
26
  )
27
 
28
  def __call__(self, question: str) -> str:
 
4
  import inspect
5
  import pandas as pd
6
  from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
 
7
 
8
  # (Keep Constants as is)
9
  # --- Constants ---
 
21
  self.agent = CodeAgent(
22
  tools=[search_tool],
23
  model=model,
 
24
  )
25
 
26
  def __call__(self, question: str) -> str: