EvanMath commited on
Commit
19b742a
·
verified ·
1 Parent(s): 7f72dd1

Update app.py

Browse files

Add custom tool to agent's functionality

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ with open("prompts.yaml", 'r') as stream:
64
 
65
  agent = CodeAgent(
66
  model=model,
67
- tools=[get_current_time_in_timezone, image_generation_tool, final_answer], ## add your tools here (don't remove final answer)
68
  max_steps=6,
69
  verbosity_level=1,
70
  grammar=None,
 
64
 
65
  agent = CodeAgent(
66
  model=model,
67
+ tools=[get_current_time_in_timezone, read_excel_file, image_generation_tool, final_answer], ## add your tools here (don't remove final answer)
68
  max_steps=6,
69
  verbosity_level=1,
70
  grammar=None,