pilgrim-65 commited on
Commit
fa596e9
·
verified ·
1 Parent(s): 304d6d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
  @tool
37
- def exchange(base="GBP":str, target="EUR":str, amount:float)-> float: #it's import to specify the return type
38
  #Keep this format for the description / args / args description but feel free to modify the tool
39
  """A tool that calculates currency exchange rates.
40
  Args:
 
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
  @tool
37
+ def exchange(base:str, target:str, amount:float)-> float: #it's import to specify the return type
38
  #Keep this format for the description / args / args description but feel free to modify the tool
39
  """A tool that calculates currency exchange rates.
40
  Args: