Spaces:
Sleeping
Sleeping
updating args
Browse files
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(
|
| 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
|