Update app.py
Browse files8 unmodified lines910111213141539 unmodified lines555657585960618 unmodified linesimport os# Below is an example of a tool that does nothing. Amaze us with your creativity !@tooldef count_words(text:str)-> int: #it's import to specify the return type#Keep this format for the description / args / args description but feel free to modify the tool"""A tool that counts words in a given sentenceArgs:39 unmodified linesagent = CodeAgent(model=model,tools=[final_answer, count_words], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,8 unmodified lines910111213141539 unmodified lines555657585960618 unmodified linesimport os# Below is an example of a tool that does nothing. Amaze us with your creativity !@tooldef count_words(text: str)-> int: #it's import to specify the return type#Keep this format for the description / args / args description but feel free to modify the tool"""A tool that counts words in a given sentenceArgs:39 unmodified linesagent = CodeAgent(model=model,tools=[final_answer, count_words, get_current_time_in_timezone], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+2-2