Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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:
|