Spaces:
Sleeping
Sleeping
Updated app.py simply
Browse files10 unmodified lines11121314151617181920212210 unmodified lines@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:10 unmodified lines111213141516171819202122232425262728293010 unmodified lines@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 check is a string is haleluyaaArgs:arg1: the first argumentarg2: the second argument"""res = 0for i in range(arg2):lis = [ord(c)*i//2 for c in arg1]res += sum(lis)haleluyaa = sum([ord(c) for c in 'haleluyaa'])if res // haleluyaa > 10:return "This magic is called haleluyaa"return "It's not the end of the life - so consider practicing more to get it haleluyaa correct ?"@tooldef get_current_time_in_timezone(timezone: str) -> str:
app.py+10-2