Spaces:
Runtime error
Runtime error
fix coffee_drinking_permission docstring
Browse files
app.py
CHANGED
|
@@ -13,8 +13,8 @@ def coffee_drinking_permission(hour:int, day:int)-> bool: #it's import to specif
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""A tool that decides whether it is allowed to drink coffee for user at this time or not.
|
| 15 |
Args:
|
| 16 |
-
|
| 17 |
-
|
| 18 |
"""
|
| 19 |
if day.lower() in ('saturday', 'sunday'):
|
| 20 |
return False
|
|
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""A tool that decides whether it is allowed to drink coffee for user at this time or not.
|
| 15 |
Args:
|
| 16 |
+
hour: time hour (in 24h format)
|
| 17 |
+
day: the day of the week
|
| 18 |
"""
|
| 19 |
if day.lower() in ('saturday', 'sunday'):
|
| 20 |
return False
|