Spaces:
Sleeping
Sleeping
Update app.py
Browse files45 unmodified lines464748495051521 unmodified line5455565758596045 unmodified linescustom_role_conversions=None,)# Import tool from Hubimage_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)1 unmodified lineprompt_templates = yaml.safe_load(stream)agent = CodeAgent(model=model,tools=[final_answer], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,45 unmodified lines464748495051521 unmodified line5455565758596045 unmodified linescustom_role_conversions=None,)model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'# Import tool from Hubimage_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)1 unmodified lineprompt_templates = yaml.safe_load(stream)agent = CodeAgent(model=model_id,tools=[final_answer], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,
app.py+2-2