Spaces:
Sleeping
Sleeping
typo mistake :(
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def get_current_sentiment()-> str: #it's import to specify the return type
|
|
| 14 |
"""A tool that returns deterministic sentiment for the current agent.
|
| 15 |
"""
|
| 16 |
currentHour = datetime.now().hour
|
| 17 |
-
if currentHour
|
| 18 |
return "Moody"
|
| 19 |
elif current_hour <= 12:
|
| 20 |
return "Sleepy"
|
|
|
|
| 14 |
"""A tool that returns deterministic sentiment for the current agent.
|
| 15 |
"""
|
| 16 |
currentHour = datetime.now().hour
|
| 17 |
+
if currentHour <= 6:
|
| 18 |
return "Moody"
|
| 19 |
elif current_hour <= 12:
|
| 20 |
return "Sleepy"
|