freemt commited on
Commit ·
78ab3ee
1
Parent(s): e2232f5
Update print(virtual_memory()) example
Browse files
app.py
CHANGED
|
@@ -27,6 +27,7 @@ iface = gr.Interface(
|
|
| 27 |
"uname -m",
|
| 28 |
"df -h .",
|
| 29 |
"cat /proc/cpuinfo",
|
|
|
|
| 30 |
],
|
| 31 |
title="probe the system",
|
| 32 |
description="talk to the system via subprocess.check_output ",
|
|
|
|
| 27 |
"uname -m",
|
| 28 |
"df -h .",
|
| 29 |
"cat /proc/cpuinfo",
|
| 30 |
+
"""python -c "from psutil import virtual_memory; print(virtual_memory())" """,
|
| 31 |
],
|
| 32 |
title="probe the system",
|
| 33 |
description="talk to the system via subprocess.check_output ",
|