Spaces:
Sleeping
Sleeping
update definition of my_custom_tool
#2
by
rjames
- opened
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from Gradio_UI import GradioUI
|
|
| 11 |
@tool
|
| 12 |
def my_custom_tool(state_county:str, sales_tax:int,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
|
| 15 |
Args:
|
| 16 |
state_county: A string that represets the stae or county
|
| 17 |
sales_tax: An interger that represents the sales tax
|
|
|
|
| 11 |
@tool
|
| 12 |
def my_custom_tool(state_county:str, sales_tax:int,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:
|
| 16 |
state_county: A string that represets the stae or county
|
| 17 |
sales_tax: An interger that represents the sales tax
|