Evan Frick
commited on
Commit
•
b2821de
1
Parent(s):
791e69b
make human pref come first
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def main():
|
|
29 |
data = load_data('results.json')
|
30 |
|
31 |
# Extract the list of benchmarks
|
32 |
-
benchmarks = list(data.keys())
|
33 |
|
34 |
# Dropdown for selecting benchmark
|
35 |
selected_benchmark = st.selectbox("Select a Benchmark", benchmarks)
|
|
|
29 |
data = load_data('results.json')
|
30 |
|
31 |
# Extract the list of benchmarks
|
32 |
+
benchmarks = list(sorted(data.keys(), key=lambda s: "A" + s if s == "human_preference_v1" else s))
|
33 |
|
34 |
# Dropdown for selecting benchmark
|
35 |
selected_benchmark = st.selectbox("Select a Benchmark", benchmarks)
|