Update app.py
Browse files8 unmodified lines9101112131415161718192021228 unmodified lines# Below is an example of a tool that does nothing. Amaze us with your creativity !@tooldef my_custom_tool(arg1:str, arg2:int)-> str: #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 does nothing yetArgs:arg1: the first argumentarg2: the second argument"""return "What magic will you build ?"@tooldef get_current_time_in_timezone(timezone: str) -> str:8 unmodified lines91011121314151617181920218 unmodified lines# 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:arg1: text: the sentence to count words in"""return len(text.split())@tooldef get_current_time_in_timezone(timezone: str) -> str:
app.py+4-5