Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def get_random_joke()-> str: #it's import to specify the return type
|
|
| 31 |
return f"Failed to retrieve joke. Status code: {response.status_code}"
|
| 32 |
|
| 33 |
@tool
|
| 34 |
-
def get_user_row(
|
| 35 |
"""A tool that fetches more information about the user in a .csv file.
|
| 36 |
Args:
|
| 37 |
user_name: A string that's the user name.
|
|
|
|
| 31 |
return f"Failed to retrieve joke. Status code: {response.status_code}"
|
| 32 |
|
| 33 |
@tool
|
| 34 |
+
def get_user_row(username: str) -> str:
|
| 35 |
"""A tool that fetches more information about the user in a .csv file.
|
| 36 |
Args:
|
| 37 |
user_name: A string that's the user name.
|