Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def count_letters_in_name(name: str)-> int: #it's import to specify the return t
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""A tool that counts letters in a given name
|
| 15 |
Args:
|
| 16 |
-
|
| 17 |
"""
|
| 18 |
return len(name.replace(' ', '')) if type(name) == 'str' else 0
|
| 19 |
|
|
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""A tool that counts letters in a given name
|
| 15 |
Args:
|
| 16 |
+
name: A string representing a valid name (e.g., 'Geoffrey Hinton')
|
| 17 |
"""
|
| 18 |
return len(name.replace(' ', '')) if type(name) == 'str' else 0
|
| 19 |
|