andrewnzrv commited on
Commit
bfa5773
·
verified ·
1 Parent(s): c1d6fb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool, FinalAnswerTool
2
  import datetime
3
  import requests
4
  import pytz
@@ -15,8 +15,8 @@ from smolagents import LiteLLMModel, CodeAgent
15
  def convert_currency(curr1:str, curr2:str, amount:int) -> str:
16
  """ A tool that converts one currency into another.
17
  Args:
18
- curr1: Currency 1, the initial currency that needs to be coinverted into another one (e.g. EUR, usd).
19
- curr2: Currency 2, the currency the first one needs to be converted into (e.g. RUB, eur, Russian rubles).
20
  amount: The ammount of currency 1 that needs to be converted.
21
  """
22
  try:
 
1
+ from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
2
  import datetime
3
  import requests
4
  import pytz
 
15
  def convert_currency(curr1:str, curr2:str, amount:int) -> str:
16
  """ A tool that converts one currency into another.
17
  Args:
18
+ curr1: Currency 1, the initial currency that needs to be coinverted into another one (e.g. EUR).
19
+ curr2: Currency 2, the currency the first one needs to be converted into (e.g. RUB).
20
  amount: The ammount of currency 1 that needs to be converted.
21
  """
22
  try: