sdeepanraj commited on
Commit
334fdc8
·
verified ·
1 Parent(s): 980172b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,9 +21,9 @@ class BasicAgent:
21
  custom_role_conversions=None,
22
  )
23
  self.agent = CodeAgent(
24
- model = HfApiModel(),
25
  tools = [DuckDuckGoSearchTool(), WikipediaSearchTool(), VisitWebpageTool()],
26
- additional_authorized_imports = ["pandas", "numpy"]
27
  )
28
  SYSTEM_PROMPT = """You are a general AI assistant. I will ask you a question.
29
  Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER].
 
21
  custom_role_conversions=None,
22
  )
23
  self.agent = CodeAgent(
24
+ model = model,
25
  tools = [DuckDuckGoSearchTool(), WikipediaSearchTool(), VisitWebpageTool()],
26
+ #additional_authorized_imports = ["pandas", "numpy"]
27
  )
28
  SYSTEM_PROMPT = """You are a general AI assistant. I will ask you a question.
29
  Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER].