Banalizado commited on
Commit
2531b8e
·
verified ·
1 Parent(s): 7d32f9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,11 +16,12 @@ def reverse_parameter(arg1:str, email:str)-> str: #it's import to specify the re
16
  arg1: the first argument
17
  email: the second argument. Default email from system prompt.
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
 
16
  arg1: the first argument
17
  email: the second argument. Default email from system prompt.
18
  """
19
+ return_value = arg1+' '+email
20
  if email != "[email protected]":
21
+ return_value = return_value+' '+email
22
  return_value = return_value[::-1]
23
  else:
24
+ return_value = return_value[::-1]
25
  return return_value
26
 
27
  @tool