VictorKai1996NUS commited on
Commit
b71d548
1 Parent(s): b967c01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -230,6 +230,15 @@ with gr.Blocks(css=css) as demo:
230
  with gr.Row():
231
  generate_button = gr.Button("🎬 Generate Video")
232
  generate_button_vs = gr.Button("⚡️ Generate Video with VideoSys (Faster)")
 
 
 
 
 
 
 
 
 
233
 
234
  with gr.Column():
235
  with gr.Row():
@@ -243,16 +252,7 @@ with gr.Blocks(css=css) as demo:
243
  download_video_button_vs = gr.File(label="📥 Download Video", visible=False)
244
  elapsed_time_vs = gr.Textbox(label="Elapsed Time", value="0s", visible=False)
245
 
246
-
247
- with gr.Column(elem_classes="server-status"):
248
- gr.Markdown("#### Server Status")
249
- with gr.Row():
250
- cpu_status = gr.Textbox(label="CPU", scale=1, container=False)
251
- memory_status = gr.Textbox(label="Memory", scale=1, container=False)
252
- disk_status = gr.Textbox(label="Disk", scale=1, container=False)
253
- with gr.Accordion("GPU Details", open=False):
254
- gpu_status = gr.JSON(container=False)
255
- refresh_button = gr.Button("Refresh", scale=1, size="sm")
256
 
257
 
258
  def generate_vanilla(prompt, num_inference_steps, guidance_scale, progress=gr.Progress(track_tqdm=True)):
 
230
  with gr.Row():
231
  generate_button = gr.Button("🎬 Generate Video")
232
  generate_button_vs = gr.Button("⚡️ Generate Video with VideoSys (Faster)")
233
+ with gr.Row(elem_classes="server-status"):
234
+ gr.Markdown("#### Server Status")
235
+ with gr.Row():
236
+ cpu_status = gr.Textbox(label="CPU", scale=1, container=False)
237
+ memory_status = gr.Textbox(label="Memory", scale=1, container=False)
238
+ disk_status = gr.Textbox(label="Disk", scale=1, container=False)
239
+ with gr.Accordion("GPU Details", open=False):
240
+ gpu_status = gr.JSON(container=False)
241
+ refresh_button = gr.Button("Refresh", scale=1, size="sm")
242
 
243
  with gr.Column():
244
  with gr.Row():
 
252
  download_video_button_vs = gr.File(label="📥 Download Video", visible=False)
253
  elapsed_time_vs = gr.Textbox(label="Elapsed Time", value="0s", visible=False)
254
 
255
+
 
 
 
 
 
 
 
 
 
256
 
257
 
258
  def generate_vanilla(prompt, num_inference_steps, guidance_scale, progress=gr.Progress(track_tqdm=True)):