Aramide commited on
Commit
b33051a
·
verified ·
1 Parent(s): b425993

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -46,10 +46,9 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
46
  with open("prompts.yaml", 'r') as stream:
47
  prompt_templates = yaml.safe_load(stream)
48
 
49
- duckduckgo_tool = DuckDuckGoSearchTool()
50
  agent = CodeAgent(
51
  model=model,
52
- tools=[final_answer, get_current_time_in_timezone, duckduckgo_tool],
53
  max_steps=6,
54
  verbosity_level=1,
55
  grammar=None,
 
46
  with open("prompts.yaml", 'r') as stream:
47
  prompt_templates = yaml.safe_load(stream)
48
 
 
49
  agent = CodeAgent(
50
  model=model,
51
+ tools=[final_answer, get_current_time_in_timezone, DuckDuckGoSearchTool()],
52
  max_steps=6,
53
  verbosity_level=1,
54
  grammar=None,