deniyoz commited on
Commit
fec67cf
·
verified ·
1 Parent(s): 37514a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from Gradio_UI import GradioUI
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
- def convert_currency(amount: float, from_currency: float, to_currency: float) -> float:
13
  """
14
  Converts an amount from one currency to another using a static exchange rate list.
15
 
 
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
+ def convert_currency(amount: float, from_currency: str, to_currency: str) -> str:
13
  """
14
  Converts an amount from one currency to another using a static exchange rate list.
15