Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,9 +76,9 @@ def convert_currency(amount: float, from_currency: str, to_currency: str) -> str
|
|
| 76 |
Converts an amount from one currency to another based on real-time exchange rates.
|
| 77 |
|
| 78 |
Args:
|
| 79 |
-
amount
|
| 80 |
-
from_currency
|
| 81 |
-
to_currency
|
| 82 |
"""
|
| 83 |
try:
|
| 84 |
|
|
|
|
| 76 |
Converts an amount from one currency to another based on real-time exchange rates.
|
| 77 |
|
| 78 |
Args:
|
| 79 |
+
amount: The amount of money to be converted.
|
| 80 |
+
from_currency: The currency code of the original amount (e.g., 'USD').
|
| 81 |
+
to_currency: The currency code of the target currency (e.g., 'EUR').
|
| 82 |
"""
|
| 83 |
try:
|
| 84 |
|