mrfakename commited on
Commit
6691dd6
1 Parent(s): 2a9845b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -201,7 +201,7 @@ A list of the models based on how natural they sound (according to the votes cas
201
 
202
  Important: The leaderboard will be hidden by default until a human ratings threshold has been achieved to keep the results fair.
203
 
204
- Tick the `Reveal Preliminary Results` checkbox below if you wish to see the raw data.
205
  """.strip()
206
 
207
 
@@ -459,8 +459,8 @@ 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=0)
463
- reloadbtn = gr.Button("Refresh")
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])
 
201
 
202
  Important: The leaderboard will be hidden by default until a human ratings threshold has been achieved to keep the results fair.
203
 
204
+ Tick the `Reveal preliminary results` checkbox below if you wish to see the raw data.
205
  """.strip()
206
 
207
 
 
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])