rwitz commited on
Commit
f7dd537
1 Parent(s): c7db6ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -234,7 +234,7 @@ with gr.Blocks() as demo:
234
  upvote_btn_b.click(vote_down_model, inputs=[state, chatbot1, chatbot2], outputs=[chatbot1, chatbot2, upvote_btn_a, upvote_btn_b, textbox, submit_btn])
235
  with gr.Tab("Leaderboard"):
236
  try:
237
- leaderboard = gr.Dataframe(refresh_leaderboard(collection))
238
  except:
239
  leaderboard = gr.Dataframe()
240
  refresh_btn = gr.Button("Refresh Leaderboard")
 
234
  upvote_btn_b.click(vote_down_model, inputs=[state, chatbot1, chatbot2], outputs=[chatbot1, chatbot2, upvote_btn_a, upvote_btn_b, textbox, submit_btn])
235
  with gr.Tab("Leaderboard"):
236
  try:
237
+ leaderboard = gr.Dataframe(refresh_leaderboard())
238
  except:
239
  leaderboard = gr.Dataframe()
240
  refresh_btn = gr.Button("Refresh Leaderboard")