metehan yalçın commited on
Commit
75bee1c
·
verified ·
1 Parent(s): 824b8fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ Args:
21
  #return "What magic will you build ?"
22
 
23
  @tool
24
- def my_custom_tool(currency_name: str, currency_value: Union[int, float], target_currency: str) -> float:
25
  """A tool that converts an amount from one currency to another using current exchange rates.
26
 
27
  Args:
 
21
  #return "What magic will you build ?"
22
 
23
  @tool
24
+ def my_custom_tool(currency_name: str, currency_value: float, target_currency: str) -> float:
25
  """A tool that converts an amount from one currency to another using current exchange rates.
26
 
27
  Args: