gsaivinay commited on
Commit
476a3e1
β€’
1 Parent(s): d6b3d82

adding count of models in evaluation queue and finished status

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -350,7 +350,7 @@ with demo:
350
  gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
351
 
352
  with gr.Column():
353
- with gr.Accordion("βœ… Finished Evaluations", open=False):
354
  with gr.Row():
355
  finished_eval_table = gr.components.Dataframe(
356
  value=finished_eval_queue_df,
@@ -358,7 +358,7 @@ with demo:
358
  datatype=EVAL_TYPES,
359
  max_rows=5,
360
  )
361
- with gr.Accordion("πŸ”„ Running Evaluation Queue", open=False):
362
  with gr.Row():
363
  running_eval_table = gr.components.Dataframe(
364
  value=running_eval_queue_df,
@@ -367,7 +367,7 @@ with demo:
367
  max_rows=5,
368
  )
369
 
370
- with gr.Accordion("⏳ Pending Evaluation Queue", open=False):
371
  with gr.Row():
372
  pending_eval_table = gr.components.Dataframe(
373
  value=pending_eval_queue_df,
 
350
  gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
351
 
352
  with gr.Column():
353
+ with gr.Accordion(f"βœ… Finished Evaluations: {len(finished_eval_queue_df)}", open=False):
354
  with gr.Row():
355
  finished_eval_table = gr.components.Dataframe(
356
  value=finished_eval_queue_df,
 
358
  datatype=EVAL_TYPES,
359
  max_rows=5,
360
  )
361
+ with gr.Accordion(f"πŸ”„ Running Evaluation Queue: {len(running_eval_queue_df)}", open=False):
362
  with gr.Row():
363
  running_eval_table = gr.components.Dataframe(
364
  value=running_eval_queue_df,
 
367
  max_rows=5,
368
  )
369
 
370
+ with gr.Accordion(f"⏳ Pending Evaluation Queue: {len(pending_eval_queue_df)}", open=False):
371
  with gr.Row():
372
  pending_eval_table = gr.components.Dataframe(
373
  value=pending_eval_queue_df,