Geraldine commited on
Commit
3ac2694
·
verified ·
1 Parent(s): be9d106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -50,14 +50,15 @@ with open("prompts.yaml", 'r') as stream:
50
 
51
  agent = CodeAgent(
52
  model=model,
53
- tools=[final_answer,get_g5_data,save_figure], ## add your tools here (don't remove final answer)
54
  max_steps=6,
55
  verbosity_level=1,
56
  grammar=None,
57
  planning_interval=None,
58
  name=None,
59
  description=None,
60
- prompt_templates=prompt_templates,
 
61
  additional_authorized_imports=['numpy', 'pandas','matplotlib.pyplot']
62
  )
63
 
 
50
 
51
  agent = CodeAgent(
52
  model=model,
53
+ tools=[get_g5_data,save_figure], ## add your tools here (don't remove final answer)
54
  max_steps=6,
55
  verbosity_level=1,
56
  grammar=None,
57
  planning_interval=None,
58
  name=None,
59
  description=None,
60
+ #prompt_templates=prompt_templates,
61
+ add_base_tools = True,
62
  additional_authorized_imports=['numpy', 'pandas','matplotlib.pyplot']
63
  )
64