Yerma commited on
Commit
9e56719
·
verified ·
1 Parent(s): 4270d43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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: