Spaces:
Sleeping
Sleeping
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 lines9101112131415161718192021228 unmodified lines# Below is an example of a tool that does nothing. Amaze us with your creativity !@tooldef count_caracters(text:str)-> 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:text: The inpunt text to be counted"""length = len(text)return f"The input has {length} characters"@tooldef get_current_time_in_timezone(timezone: str) -> str:
app.py+4-4