VictorKai1996NUS
commited on
Commit
•
05576af
1
Parent(s):
9fc5ec2
Update app.py
Browse files
app.py
CHANGED
@@ -246,16 +246,12 @@ with gr.Blocks(css=css) as demo:
|
|
246 |
gr.Markdown("#### Server Status")
|
247 |
|
248 |
with gr.Row():
|
249 |
-
|
250 |
-
|
251 |
-
with gr.Column(scale=1):
|
252 |
-
memory_status = gr.Textbox(label="Memory")
|
253 |
|
254 |
with gr.Row():
|
255 |
-
|
256 |
-
|
257 |
-
with gr.Column(scale=1):
|
258 |
-
gpu_status = gr.Textbox(label="GPU Memory")
|
259 |
|
260 |
with gr.Row():
|
261 |
refresh_button = gr.Button("Refresh", size="sm")
|
|
|
246 |
gr.Markdown("#### Server Status")
|
247 |
|
248 |
with gr.Row():
|
249 |
+
cpu_status = gr.Textbox(label="CPU", scale=1)
|
250 |
+
memory_status = gr.Textbox(label="Memory", scale=1)
|
|
|
|
|
251 |
|
252 |
with gr.Row():
|
253 |
+
disk_status = gr.Textbox(label="Disk", scale=1)
|
254 |
+
gpu_status = gr.Textbox(label="GPU Memory", scale=1)
|
|
|
|
|
255 |
|
256 |
with gr.Row():
|
257 |
refresh_button = gr.Button("Refresh", size="sm")
|