Update app.py
Browse files48 unmodified lines4950515253545556575859606148 unmodified lines# Import tool from Hubimage_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)with open("prompts.yaml", 'r') as stream:prompt_templates = yaml.safe_load(stream)agent = CodeAgent(model=model,tools=[final_answer,image_generation_tool], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,48 unmodified lines495051525354555657585960616248 unmodified lines# Import tool from Hubimage_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)deepseek = load_tool("deepseek-ai/DeepSeek-R1", trust_remote_code=True)with open("prompts.yaml", 'r') as stream:prompt_templates = yaml.safe_load(stream)agent = CodeAgent(model=model,tools=[final_answer,deepseek], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+2-1