mandgie commited on
Commit
95cb279
·
verified ·
1 Parent(s): 1d9ab67

updating args

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
19
  return "What magic will you build ?"
20
 
21
  @tool
22
- def capital_of_country(arg1:str, arg2:int)-> str: #it's import to specify the return type
23
  """A tool for getting capital of country
24
  Args:
25
  country: string of country
 
19
  return "What magic will you build ?"
20
 
21
  @tool
22
+ def capital_of_country(country: str)-> str:
23
  """A tool for getting capital of country
24
  Args:
25
  country: string of country