choco9966 commited on
Commit
e2385ab
1 Parent(s): d054db2

[Feat] add fail category

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -513,6 +513,17 @@ with demo:
513
  datatype=EVAL_TYPES,
514
  max_rows=5,
515
  )
 
 
 
 
 
 
 
 
 
 
 
516
  with gr.Row():
517
  gr.Markdown("# ✉️✨ Submit your model here!", elem_classes="markdown-text")
518
 
 
513
  datatype=EVAL_TYPES,
514
  max_rows=5,
515
  )
516
+ with gr.Accordion(
517
+ f"❌ Failed Evaluations ({len(failed_eval_queue_df)})",
518
+ open=False,
519
+ ):
520
+ with gr.Row():
521
+ pending_eval_table = gr.components.Dataframe(
522
+ value=failed_eval_queue_df,
523
+ headers=EVAL_COLS,
524
+ datatype=EVAL_TYPES,
525
+ max_rows=5,
526
+ )
527
  with gr.Row():
528
  gr.Markdown("# ✉️✨ Submit your model here!", elem_classes="markdown-text")
529