bstraehle commited on
Commit
5c8a7a6
·
1 Parent(s): 44c276f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -26,7 +26,9 @@ def time(text: str) -> str:
26
  The input should always be an empty string, and this function will always return current datetime.
27
  Any date and time mathematics should occur outside this function."""
28
  dt = datetime.now()
 
29
  dt_local = dt.astimezone(get_localzone())
 
30
  return dt_local.strftime("%d/%m/%Y %H:%M:%S")
31
 
32
  def invoke(openai_api_key, prompt, agent_option):
 
26
  The input should always be an empty string, and this function will always return current datetime.
27
  Any date and time mathematics should occur outside this function."""
28
  dt = datetime.now()
29
+ print(dt)
30
  dt_local = dt.astimezone(get_localzone())
31
+ print(dt_local)
32
  return dt_local.strftime("%d/%m/%Y %H:%M:%S")
33
 
34
  def invoke(openai_api_key, prompt, agent_option):