pg56714 commited on
Commit
2a7a6fd
·
verified ·
1 Parent(s): 4624102

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -55,14 +55,11 @@ with open("prompts.yaml", 'r') as stream:
55
 
56
  agent = CodeAgent(
57
  model=model,
58
- tools=[final_answer], ## add your tools here (don't remove final answer)
 
59
  max_steps=6,
60
  verbosity_level=1,
61
- grammar=None,
62
- planning_interval=None,
63
- name=None,
64
- description=None,
65
- prompt_templates=prompt_templates
66
  )
67
 
68
 
 
55
 
56
  agent = CodeAgent(
57
  model=model,
58
+ tools=[final_answer, get_current_time_in_timezone, image_generation_tool, my_custom_tool],
59
+ prompt_templates=prompt_templates,
60
  max_steps=6,
61
  verbosity_level=1,
62
+ additional_authorized_imports=["pytz"]
 
 
 
 
63
  )
64
 
65