VictorKai1996NUS commited on
Commit
a3d5451
·
verified ·
1 Parent(s): 52a6c7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -20
app.py CHANGED
@@ -237,29 +237,14 @@ with gr.Blocks(css=css) as demo:
237
  with gr.Row():
238
  generate_button = gr.Button("🎬 Generate Video")
239
  generate_button_vs = gr.Button("⚡️ Generate Video with VideoSys (Faster)")
240
- # with gr.Row(elem_classes="server-status"):
241
- # gr.Markdown("#### Server Status")
242
- # with gr.Row():
243
- # cpu_status = gr.Textbox(label="CPU", scale=1)
244
- # memory_status = gr.Textbox(label="Memory", scale=1)
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.Row(elem_classes="server-status"):
249
  gr.Markdown("#### Server Status")
250
- with gr.Column():
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
- with gr.Row():
257
- with gr.Column(scale=1):
258
- disk_status = gr.Textbox(label="Disk")
259
- with gr.Column(scale=1):
260
- gpu_status = gr.Textbox(label="GPU Memory")
261
  with gr.Row():
262
- refresh_button = gr.Button("Refresh", scale=1, size="sm")
 
 
 
 
263
 
264
  with gr.Column():
265
  with gr.Row():
 
237
  with gr.Row():
238
  generate_button = gr.Button("🎬 Generate Video")
239
  generate_button_vs = gr.Button("⚡️ Generate Video with VideoSys (Faster)")
 
 
 
 
 
 
 
 
240
  with gr.Row(elem_classes="server-status"):
241
  gr.Markdown("#### Server Status")
 
 
 
 
 
 
 
 
 
 
 
242
  with gr.Row():
243
+ cpu_status = gr.Textbox(label="CPU", scale=1)
244
+ memory_status = gr.Textbox(label="Memory", scale=1)
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():