Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def exchange(amount_uah: float)-> str: #it's import to specify the return type
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""Converts the amount in hryvnia (UAH) to dollars (USD) at the current NBU exchange rate.
|
| 15 |
Args:
|
| 16 |
-
amount_uah
|
| 17 |
|
| 18 |
"""
|
| 19 |
response = requests.get("https://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?json")
|
|
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""Converts the amount in hryvnia (UAH) to dollars (USD) at the current NBU exchange rate.
|
| 15 |
Args:
|
| 16 |
+
amount_uah: The amount in hryvnia to be converted.
|
| 17 |
|
| 18 |
"""
|
| 19 |
response = requests.get("https://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?json")
|