Spaces:
Sleeping
Sleeping
VictorKai1996NUS
commited on
Commit
•
9fc5ec2
1
Parent(s):
eef733b
Update app.py
Browse files
app.py
CHANGED
@@ -234,14 +234,31 @@ with gr.Blocks(css=css) as demo:
|
|
234 |
with gr.Row():
|
235 |
generate_button = gr.Button("🎬 Generate Video")
|
236 |
generate_button_vs = gr.Button("⚡️ Generate Video with VideoSys (Faster)")
|
237 |
-
with gr.Row(elem_classes="server-status"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
gr.Markdown("#### Server Status")
|
|
|
239 |
with gr.Row():
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
|
246 |
with gr.Column():
|
247 |
with gr.Row():
|
|
|
234 |
with gr.Row():
|
235 |
generate_button = gr.Button("🎬 Generate Video")
|
236 |
generate_button_vs = gr.Button("⚡️ Generate Video with VideoSys (Faster)")
|
237 |
+
# with gr.Row(elem_classes="server-status"):
|
238 |
+
# gr.Markdown("#### Server Status")
|
239 |
+
# with gr.Row():
|
240 |
+
# cpu_status = gr.Textbox(label="CPU", scale=1)
|
241 |
+
# memory_status = gr.Textbox(label="Memory", scale=1)
|
242 |
+
# disk_status = gr.Textbox(label="Disk", scale=1)
|
243 |
+
# gpu_status = gr.Textbox(label="GPU Memory", scale=1)
|
244 |
+
# refresh_button = gr.Button("Refresh", scale=1, size="sm")
|
245 |
+
with gr.Column(elem_classes="server-status"):
|
246 |
gr.Markdown("#### Server Status")
|
247 |
+
|
248 |
with gr.Row():
|
249 |
+
with gr.Column(scale=1):
|
250 |
+
cpu_status = gr.Textbox(label="CPU")
|
251 |
+
with gr.Column(scale=1):
|
252 |
+
memory_status = gr.Textbox(label="Memory")
|
253 |
+
|
254 |
+
with gr.Row():
|
255 |
+
with gr.Column(scale=1):
|
256 |
+
disk_status = gr.Textbox(label="Disk")
|
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")
|
262 |
|
263 |
with gr.Column():
|
264 |
with gr.Row():
|