rjames commited on
Commit
bff0c2a
·
verified ·
1 Parent(s): 46cc366

change return type (#6)

Browse files

- change return type (cf350baff2f7a8c59b768c57a571ff604171827c)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ 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 my_custom_tool(state_county:str, sales_tax:float,item:str)-> 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 that finds a price of an item and calculates the sales tax of the supplied state or county and returns the price of the item
15
  Args:
 
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
+ def my_custom_tool(state_county:str, sales_tax:float,item:str)-> float: #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 finds a price of an item and calculates the sales tax of the supplied state or county and returns the price of the item
15
  Args: