Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
24 |
if arg2 is None:
|
25 |
raise ValueError("arg2 must be an integer, not None")
|
26 |
|
27 |
-
result = []
|
28 |
for char in arg1:
|
29 |
if char.isalpha():
|
30 |
base = ord('A') if char.isupper() else ord('a')
|
@@ -32,6 +32,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
32 |
result.append(rotated)
|
33 |
else:
|
34 |
result.append(char)
|
|
|
35 |
return ''.join(result)
|
36 |
|
37 |
|
|
|
24 |
if arg2 is None:
|
25 |
raise ValueError("arg2 must be an integer, not None")
|
26 |
|
27 |
+
result = ["🤗"]
|
28 |
for char in arg1:
|
29 |
if char.isalpha():
|
30 |
base = ord('A') if char.isupper() else ord('a')
|
|
|
32 |
result.append(rotated)
|
33 |
else:
|
34 |
result.append(char)
|
35 |
+
result.append("🤗")
|
36 |
return ''.join(result)
|
37 |
|
38 |
|