Thorfast commited on
Commit
9e46e89
·
verified ·
1 Parent(s): 1c90da8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def currency_converter(amount:float, from_currency:str, to_currency:str) -> str:
33
  converted = amount * rates[to_currency]
34
  return f"Convertion of {amount} {from_currency} = {converted:.2f} {to_currency}"
35
  except Exception as e:
36
- return f"Error converting {amount} {from_currency} to {to_currency}}"
37
 
38
  @tool
39
  def website_availability(url: str) -> str:
 
33
  converted = amount * rates[to_currency]
34
  return f"Convertion of {amount} {from_currency} = {converted:.2f} {to_currency}"
35
  except Exception as e:
36
+ return f"Error converting {amount} {from_currency} to {to_currency}"
37
 
38
  @tool
39
  def website_availability(url: str) -> str: