shopkeeper commited on
Commit
63145cb
·
verified ·
1 Parent(s): 9c4148b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: