mrfakename commited on
Commit
b7b58ac
1 Parent(s): 7b5c32e

No more prelim votes since reached 500 on all!

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -200,8 +200,6 @@ Vote to help the community determine the best text-to-speech (TTS) models.
200
  The leaderboard displays models in descending order of how natural they sound (based on votes cast by the community).
201
 
202
  Important: In order to help keep results fair, the leaderboard hides results by default until the number of votes passes a threshold.
203
-
204
- Check `Reveal preliminary results` checkbox below to view early results.
205
  """.strip()
206
 
207
 
@@ -459,9 +457,9 @@ with gr.Blocks() as leaderboard:
459
  # df = gr.Dataframe(interactive=False, value=get_leaderboard())
460
  df = gr.Dataframe(interactive=False, min_width=0, wrap=True, column_widths=[30, 200, 50, 50])
461
  with gr.Row():
462
- reveal_prelim = gr.Checkbox(label="Reveal preliminary results", info="Show all models, including models with very few human ratings.", scale=1)
463
  reloadbtn = gr.Button("Refresh", scale=3)
464
- reveal_prelim.input(get_leaderboard, inputs=[reveal_prelim], outputs=[df])
465
  leaderboard.load(get_leaderboard, inputs=[reveal_prelim], outputs=[df])
466
  reloadbtn.click(get_leaderboard, inputs=[reveal_prelim], outputs=[df])
467
  # gr.Markdown("DISCLAIMER: The licenses listed may not be accurate or up to date, you are responsible for checking the licenses before using the models. Also note that some models may have additional usage restrictions.")
 
200
  The leaderboard displays models in descending order of how natural they sound (based on votes cast by the community).
201
 
202
  Important: In order to help keep results fair, the leaderboard hides results by default until the number of votes passes a threshold.
 
 
203
  """.strip()
204
 
205
 
 
457
  # df = gr.Dataframe(interactive=False, value=get_leaderboard())
458
  df = gr.Dataframe(interactive=False, min_width=0, wrap=True, column_widths=[30, 200, 50, 50])
459
  with gr.Row():
460
+ # reveal_prelim = gr.Checkbox(label="Reveal preliminary results", info="Show all models, including models with very few human ratings.", scale=1)
461
  reloadbtn = gr.Button("Refresh", scale=3)
462
+ # reveal_prelim.input(get_leaderboard, inputs=[reveal_prelim], outputs=[df])
463
  leaderboard.load(get_leaderboard, inputs=[reveal_prelim], outputs=[df])
464
  reloadbtn.click(get_leaderboard, inputs=[reveal_prelim], outputs=[df])
465
  # gr.Markdown("DISCLAIMER: The licenses listed may not be accurate or up to date, you are responsible for checking the licenses before using the models. Also note that some models may have additional usage restrictions.")