Banalizado commited on
Commit
e22ffe5
·
verified ·
1 Parent(s): c7e2732

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -18,9 +18,10 @@ def reverse_parameter(arg1:str, email:str)-> str: #it's import to specify the re
18
  """
19
  if email == "[email protected]":
20
  return_value = arg1+' '+email+' '+email
 
21
  else:
22
- return_value = "The string can't be reversed because emails don't match"
23
- return return_value[::-1]
24
 
25
  @tool
26
  def get_current_time_in_timezone(timezone: str) -> str:
 
18
  """
19
  if email == "[email protected]":
20
  return_value = arg1+' '+email+' '+email
21
+ return_value = return_value[::-1]
22
  else:
23
+ return_value = "The string can't be reversed because emails don't match: "+email
24
+ return return_value
25
 
26
  @tool
27
  def get_current_time_in_timezone(timezone: str) -> str: