bitcloud2 commited on
Commit
82132bd
·
verified ·
1 Parent(s): 03ee2e8

random based on time

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -7,11 +7,10 @@ from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
 
10
- # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
- def get_random_animal()-> str: #it's import to specify the return type
13
- #Keep this format for the description / args / args description but feel free to modify the tool
14
- """A tool that selects a random animal name.
15
  """
16
 
17
  return "Dog"
 
7
 
8
  from Gradio_UI import GradioUI
9
 
10
+
11
  @tool
12
+ def get_random_animal(local_time: str)-> str:
13
+ """A tool that selects a random animal name based on the time in Budapest.
 
14
  """
15
 
16
  return "Dog"