Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -233,14 +233,14 @@ def monitor():
|
|
233 |
uploaded_files=files,
|
234 |
uploaded_html_files=html_files,
|
235 |
disk_space={
|
236 |
-
'
|
237 |
-
'
|
238 |
-
'
|
239 |
},
|
240 |
memory_usage={
|
241 |
-
'
|
242 |
-
'
|
243 |
-
'
|
244 |
},
|
245 |
cpu_count=cpu_count)
|
246 |
|
|
|
233 |
uploaded_files=files,
|
234 |
uploaded_html_files=html_files,
|
235 |
disk_space={
|
236 |
+
'total': f"{total_gb} GB",
|
237 |
+
'used': f"{used_gb} GB",
|
238 |
+
'free': f"{free_gb} GB"
|
239 |
},
|
240 |
memory_usage={
|
241 |
+
'total': f"{memory_total_gb} GB",
|
242 |
+
'used': f"{memory_used_gb} GB",
|
243 |
+
'free': f"{memory_free_gb} GB"
|
244 |
},
|
245 |
cpu_count=cpu_count)
|
246 |
|