pufanyi commited on
Commit
2f36d9f
1 Parent(s): c3c45e8

Refactor init_leaderboard function to update data outputs to dataframe and improve dropdown UI

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def init_leaderboard(dataframes):
96
 
97
  with gr.Row():
98
  datatype = [c.type for c in fields(AutoEvalColumn)]
99
- df = gr.Dataframe(data, datatype=datatype, type="pandas", style={"padding": "10px"})
100
 
101
  def refresh(subset):
102
  global LEADERBOARD_DF
 
96
 
97
  with gr.Row():
98
  datatype = [c.type for c in fields(AutoEvalColumn)]
99
+ df = gr.Dataframe(data, datatype=datatype, type="pandas")
100
 
101
  def refresh(subset):
102
  global LEADERBOARD_DF