jgt03 commited on
Commit
3ec862e
·
verified ·
1 Parent(s): c4843a8

fix tool instatiation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
53
  with open("prompts.yaml", 'r') as stream:
54
  prompt_templates = yaml.safe_load(stream)
55
 
56
- new_tool = new DuckDuckGoSearchTool()
57
  agent = CodeAgent(
58
  model=model,
59
  tools=[final_answer, new_tool], ## add your tools here (don't remove final answer)
 
53
  with open("prompts.yaml", 'r') as stream:
54
  prompt_templates = yaml.safe_load(stream)
55
 
56
+ new_tool = DuckDuckGoSearchTool()
57
  agent = CodeAgent(
58
  model=model,
59
  tools=[final_answer, new_tool], ## add your tools here (don't remove final answer)