Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def get_current_sentiment()-> str: #it's import to specify the return type
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 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:
|
|
|
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
"""A tool that returns deterministic sentiment for the current agent.
|
| 15 |
"""
|
| 16 |
+
currentHour = datetime.datetime.now().hour
|
| 17 |
if currentHour <= 6:
|
| 18 |
return "Moody"
|
| 19 |
elif current_hour <= 12:
|