Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,13 +12,13 @@ def slice_list(lst: list, start: int, end: int) -> list:
|
|
| 12 |
"""
|
| 13 |
return lst[start:end]
|
| 14 |
|
| 15 |
-
def say_hello(
|
| 16 |
"""
|
| 17 |
A tool that returns message "Hello <name>"
|
| 18 |
Args:
|
| 19 |
str: name to say hello to.
|
| 20 |
Returns:
|
| 21 |
-
|
| 22 |
"""
|
| 23 |
return f"Hello, {name}"
|
| 24 |
|
|
|
|
| 12 |
"""
|
| 13 |
return lst[start:end]
|
| 14 |
|
| 15 |
+
def say_hello(name: str) -> str:
|
| 16 |
"""
|
| 17 |
A tool that returns message "Hello <name>"
|
| 18 |
Args:
|
| 19 |
str: name to say hello to.
|
| 20 |
Returns:
|
| 21 |
+
Hello <name>
|
| 22 |
"""
|
| 23 |
return f"Hello, {name}"
|
| 24 |
|