Clémentine
commited on
Commit
·
8a46eb7
1
Parent(s):
76437b9
fixed gradio issue in #248
Browse files
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,
|
| 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():
|