andrewnzrv commited on
Commit
c516513
·
verified ·
1 Parent(s): c4cb7b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def convert_currency(curr1:str, curr2:str, amount:int) -> str:
20
  try:
21
  cr = Currencyrates()
22
  converted_amount = cr.convert(curr1, curr2, amount)
23
- return f"{amount} {curr1} is {converted_amount {curr2}"
24
 
25
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
26
  @tool
 
20
  try:
21
  cr = Currencyrates()
22
  converted_amount = cr.convert(curr1, curr2, amount)
23
+ return f"{amount} {curr1} is {converted_amount} {curr2}"
24
 
25
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
26
  @tool