Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|