Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -83,6 +83,7 @@ def update_cpu_status():
|
|
83 |
cpu_status = f"CPU Usage: {cpu_percent}% {time_str}"
|
84 |
return cpu_status
|
85 |
|
|
|
86 |
def update_status():
|
87 |
gpu_status = update_gpu_status()
|
88 |
cpu_status = update_cpu_status()
|
|
|
83 |
cpu_status = f"CPU Usage: {cpu_percent}% {time_str}"
|
84 |
return cpu_status
|
85 |
|
86 |
+
@spaces.GPU
|
87 |
def update_status():
|
88 |
gpu_status = update_gpu_status()
|
89 |
cpu_status = update_cpu_status()
|