Spaces:
Sleeping
Sleeping
Update app.py
Browse files3 unmodified lines456789101112121314141516161717181919202122233 unmodified linesimport pytzimport yamlfrom tools.final_answer import FinalAnswerToolimport numpy as np
from Gradio_UI import GradioUI
# 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 typedef my_custom_tool(arg1:float, arg2:float)-> float: #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 yet """A tool generates a random float number from a uniform distribution Args: arg1: the first argument arg2: the second argument arg1: low limit arg2: high limit """ return "What magic will you build ?" return float(np.random.uniform(arg1, arg2))
@tooldef get_current_time_in_timezone(timezone: str) -> str:app.py+6-5