mbur commited on
Commit
c1e53c5
·
verified ·
1 Parent(s): 52016b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,7 +93,7 @@ def build_leaderboard_tab(folders):
93
  }
94
 
95
  with gr.Tabs() as tabs:
96
- for tab_id, tab_name in enumerate(['qa1','qa2', 'qa3', 'qa4', 'qa2'],['one fact','two facts','three facts','two arg relations','three arg relations']):
97
  df = load_model(folders, tab_name, msg_lengths)
98
  cmap = LinearSegmentedColormap.from_list('ryg', ["red", "yellow", "green"], N=256)
99
 
@@ -121,7 +121,7 @@ def build_leaderboard_tab(folders):
121
  value=df,
122
  elem_id="arena_leaderboard_dataframe",
123
  height=700,
124
- column_widths=[50, 200] + [100] * len(msg_lengths),
125
  wrap=True,
126
  )
127
 
 
93
  }
94
 
95
  with gr.Tabs() as tabs:
96
+ for tab_id, tab_name in enumerate(['qa1','qa2', 'qa3', 'qa4', 'qa2']):
97
  df = load_model(folders, tab_name, msg_lengths)
98
  cmap = LinearSegmentedColormap.from_list('ryg', ["red", "yellow", "green"], N=256)
99
 
 
121
  value=df,
122
  elem_id="arena_leaderboard_dataframe",
123
  height=700,
124
+ column_widths=[50, 200] + [50] * len(msg_lengths),
125
  wrap=True,
126
  )
127