Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -245,6 +245,23 @@ with gr.Blocks(css=css) as demo:
|
|
245 |
disk_status = gr.Textbox(label="Disk", scale=1)
|
246 |
gpu_status = gr.Textbox(label="GPU Memory", scale=1)
|
247 |
refresh_button = gr.Button("Refresh", scale=1, size="sm")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
|
249 |
with gr.Column():
|
250 |
with gr.Row():
|
|
|
245 |
disk_status = gr.Textbox(label="Disk", scale=1)
|
246 |
gpu_status = gr.Textbox(label="GPU Memory", scale=1)
|
247 |
refresh_button = gr.Button("Refresh", scale=1, size="sm")
|
248 |
+
with gr.Column(elem_classes="server-status"):
|
249 |
+
gr.Markdown("#### Server Status")
|
250 |
+
|
251 |
+
with gr.Row():
|
252 |
+
with gr.Column(scale=1):
|
253 |
+
cpu_status = gr.Textbox(label="CPU")
|
254 |
+
with gr.Column(scale=1):
|
255 |
+
memory_status = gr.Textbox(label="Memory")
|
256 |
+
|
257 |
+
with gr.Row():
|
258 |
+
with gr.Column(scale=1):
|
259 |
+
disk_status = gr.Textbox(label="Disk")
|
260 |
+
with gr.Column(scale=1):
|
261 |
+
gpu_status = gr.Textbox(label="GPU Memory")
|
262 |
+
|
263 |
+
with gr.Row():
|
264 |
+
refresh_button = gr.Button("Refresh", size="sm")
|
265 |
|
266 |
with gr.Column():
|
267 |
with gr.Row():
|