Banana-Leopard commited on
Commit
120dd39
·
verified ·
1 Parent(s): 2794eed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ custom_role_conversions=None,
57
 
58
  # Import tool from Hub
59
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
60
- browser_tool = load_tool(DuckDuckGoSearchTool, trust_remote_code=True)
61
 
62
  with open("prompts.yaml", 'r') as stream:
63
  prompt_templates = yaml.safe_load(stream)
@@ -73,7 +73,7 @@ agent = CodeAgent(
73
  my_custom_tool,
74
  image_generation_tool,
75
  get_current_time_in_timezone,
76
- browser_tool,
77
  # DuckDuckGoSearchTool,
78
  ], ## add your tools here (don't remove final answer)
79
  max_steps=6,
 
57
 
58
  # Import tool from Hub
59
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
60
+ # browser_tool = load_tool(DuckDuckGoSearchTool, trust_remote_code=True)
61
 
62
  with open("prompts.yaml", 'r') as stream:
63
  prompt_templates = yaml.safe_load(stream)
 
73
  my_custom_tool,
74
  image_generation_tool,
75
  get_current_time_in_timezone,
76
+ # browser_tool,
77
  # DuckDuckGoSearchTool,
78
  ], ## add your tools here (don't remove final answer)
79
  max_steps=6,