franckverrot commited on
Commit
c237185
·
verified ·
1 Parent(s): c36189f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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