Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
|
|
|
|
| 21 |
def currency_converter(amount: float, from_currency: str, to_currency: str) -> str:
|
| 22 |
"""Конвертирует валюту используя актуальные курсы Нацбанка Казахстана
|
| 23 |
Args:
|
|
|
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
|
| 21 |
+
@tool
|
| 22 |
def currency_converter(amount: float, from_currency: str, to_currency: str) -> str:
|
| 23 |
"""Конвертирует валюту используя актуальные курсы Нацбанка Казахстана
|
| 24 |
Args:
|