Update app.py
Browse files61 unmodified lines6263646566676869707172737461 unmodified lines# Import tool from Hubimage_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)web_search_tool = DuckDuckGoSearchTool()with open("prompts.yaml", 'r') as stream:prompt_templates = yaml.safe_load(stream)agent = CodeAgent(model=model,tools=[final_answer, image_generation_tool, web_search_tool, calculator_tool, get_current_time_in_timezone], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,61 unmodified lines626364656667686970717273747561 unmodified lines# Import tool from Hubimage_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)web_search_tool = DuckDuckGoSearchTool()visit_webpage_tool = VisitWebpageTool()with open("prompts.yaml", 'r') as stream:prompt_templates = yaml.safe_load(stream)agent = CodeAgent(model=model,tools=[final_answer, image_generation_tool, web_search_tool, calculator_tool, get_current_time_in_timezone, visit_webpage_tool], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+2-1