Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|