mlabonne commited on
Commit
2aed67d
1 Parent(s): 12b2978

add multi selection based on CultriX's PR

Browse files

See https://huggingface.co/spaces/mlabonne/Yet_Another_LLM_Leaderboard/discussions/9/files

Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -161,6 +161,10 @@ def main():
161
  height=int(len(df) * 36.2),
162
  )
163
 
 
 
 
 
164
  # Add a button to export data to CSV
165
  if st.button("Export to CSV"):
166
  # Export the DataFrame to CSV
 
161
  height=int(len(df) * 36.2),
162
  )
163
 
164
+ selected_models = st.multiselect('Select models to compare', df['Model'].unique())
165
+ comparison_df = df[df['Model'].isin(selected_models)]
166
+ st.dataframe(comparison_df)
167
+
168
  # Add a button to export data to CSV
169
  if st.button("Export to CSV"):
170
  # Export the DataFrame to CSV