mahi-anol commited on
Commit
3a100e1
·
verified ·
1 Parent(s): d65110e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,12 +9,12 @@ 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 worth_calculator(age:int, health:int)-> int: #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 which calculates a persons worth
15
  Args:
16
- age: an int that represent a persons age
17
- health: an int that respresent a persons health
18
  """
19
  return f'This persons worth is {age*health*50}'
20
 
 
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
+ def worth_calculator(age:int, health:int)-> 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 which calculates a persons worth by using age and health.
15
  Args:
16
+ age: an int that represent a persons age.
17
+ health: an int that respresent a persons health.
18
  """
19
  return f'This persons worth is {age*health*50}'
20