TaiYouWeb commited on
Commit
9354fd7
·
verified ·
1 Parent(s): fbbe6d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def torch_update_gpu_status():
90
  return gpu_status
91
 
92
  def update_cpu_status():
93
- current_time = datetime.utcnow()
94
  time_str = current_time.strftime("%Y-%m-%d %H:%M:%S")
95
 
96
  cpu_percent = psutil.cpu_percent()
 
90
  return gpu_status
91
 
92
  def update_cpu_status():
93
+ current_time = datetime.datetime.utcnow()
94
  time_str = current_time.strftime("%Y-%m-%d %H:%M:%S")
95
 
96
  cpu_percent = psutil.cpu_percent()