Clémentine commited on
Commit
732b8b1
1 Parent(s): 888c92a

fixed gradio issue in #248

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -197,7 +197,7 @@ def refresh() -> list[pd.DataFrame]:
197
  finished_eval_queue_df,
198
  running_eval_queue_df,
199
  pending_eval_queue_df,
200
- ) = get_evaluation_queue_df(eval_queue, eval_queue_private, EVAL_REQUESTS_PATH, COLS)
201
  return (
202
  leaderboard_df,
203
  finished_eval_queue_df,
@@ -535,6 +535,7 @@ with demo:
535
  running_eval_table,
536
  pending_eval_table,
537
  ],
 
538
  )
539
 
540
  with gr.Row():
 
197
  finished_eval_queue_df,
198
  running_eval_queue_df,
199
  pending_eval_queue_df,
200
+ ) = get_evaluation_queue_df(eval_queue, eval_queue_private, EVAL_REQUESTS_PATH, EVAL_COLS)
201
  return (
202
  leaderboard_df,
203
  finished_eval_queue_df,
 
535
  running_eval_table,
536
  pending_eval_table,
537
  ],
538
+ api_name='refresh'
539
  )
540
 
541
  with gr.Row():