jenyag commited on
Commit
f27f322
β€’
1 Parent(s): fcf16bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -62,9 +62,9 @@ with gr.Blocks() as demo:
62
 
63
  refresh_button = gr.Button("πŸ”„ Refresh", variant="secondary")
64
  refresh_button.click(
65
- get_leaderboard_for_task,
66
- inputs=[gr.components.Markdown(task_pretty, render=False)],
67
- outputs=[leaderboard_table],
68
  )
69
 
70
  # submission
 
62
 
63
  refresh_button = gr.Button("πŸ”„ Refresh", variant="secondary")
64
  refresh_button.click(
65
+ fn=get_leaderboard_for_task,
66
+ inputs=task_pretty,
67
+ outputs=leaderboard_table,
68
  )
69
 
70
  # submission