MallikarjunSonna commited on
Commit
0c4af1b
·
verified ·
1 Parent(s): bfbe649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def convert_currency(amount: float, from_currency: str, to_currency: str) -> str
50
  from_currency: The source currency code (e.g., 'USD').
51
  to_currency: The target currency code (e.g., 'INR').
52
  """
53
- api_key = "YOUR_EXCHANGERATE_API_KEY" # Replace with a valid API key from ExchangeRate API
54
  url = f"https://v6.exchangerate-api.com/v6/{api_key}/latest/{from_currency}"
55
 
56
  try:
 
50
  from_currency: The source currency code (e.g., 'USD').
51
  to_currency: The target currency code (e.g., 'INR').
52
  """
53
+ api_key = "90171124ae953d74d1515263" # Replace with a valid API key from ExchangeRate API
54
  url = f"https://v6.exchangerate-api.com/v6/{api_key}/latest/{from_currency}"
55
 
56
  try: