steveagi commited on
Commit
d14c8e9
·
1 Parent(s): 896c15b

format time

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def run(hf_token, service, game, functionality, nlp_command):
51
 
52
  try:
53
  if service not in functionality_shared[1:]:
54
- print(f"{datetime.today()} [{game:<12}] [{user[:12]:<12}] {nlp_command}")
55
  # myobj = {
56
  # 'data': [service, game, r, nlp_command],
57
  # }
 
51
 
52
  try:
53
  if service not in functionality_shared[1:]:
54
+ print(f"{datetime.today().replace(microsecond=0)} [{game:<12}] [{user_name[:12]:<12}] {nlp_command}")
55
  # myobj = {
56
  # 'data': [service, game, r, nlp_command],
57
  # }