t0-0 commited on
Commit
28dbc1f
1 Parent(s): 16355ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -56,6 +56,7 @@ LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS,
56
  finished_eval_queue_df,
57
  running_eval_queue_df,
58
  pending_eval_queue_df,
 
59
  ) = get_evaluation_queue_df(EVAL_REQUESTS_PATH, EVAL_COLS)
60
 
61
  def init_leaderboard(dataframe):
@@ -148,6 +149,17 @@ with demo:
148
  datatype=EVAL_TYPES,
149
  row_count=5,
150
  )
 
 
 
 
 
 
 
 
 
 
 
151
  with gr.Row():
152
  gr.Markdown("# ✉️✨ Submit your model here!", elem_classes="markdown-text")
153
 
 
56
  finished_eval_queue_df,
57
  running_eval_queue_df,
58
  pending_eval_queue_df,
59
+ failed_eval_queue_df,
60
  ) = get_evaluation_queue_df(EVAL_REQUESTS_PATH, EVAL_COLS)
61
 
62
  def init_leaderboard(dataframe):
 
149
  datatype=EVAL_TYPES,
150
  row_count=5,
151
  )
152
+ with gr.Accordion(
153
+ f"❎ Failed Evaluation Queue ({len(failed_eval_queue_df)})",
154
+ open=False,
155
+ ):
156
+ with gr.Row():
157
+ failed_eval_table = gr.components.Dataframe(
158
+ value=failed_eval_queue_df,
159
+ headers=EVAL_COLS,
160
+ datatype=EVAL_TYPES,
161
+ row_count=5,
162
+ )
163
  with gr.Row():
164
  gr.Markdown("# ✉️✨ Submit your model here!", elem_classes="markdown-text")
165