Spaces:
Runtime error
Runtime error
Tristan Thrush
commited on
Commit
·
3e8882d
1
Parent(s):
0655ae8
added alphabetical sorting for all datasets
Browse files
app.py
CHANGED
@@ -136,7 +136,7 @@ only_verified_results = st.sidebar.checkbox(
|
|
136 |
"Filter for Verified Results",
|
137 |
)
|
138 |
|
139 |
-
selectable_datasets = sorted(list(set(dataframe.dataset.tolist() + verified_dataframe.dataset.tolist())))
|
140 |
|
141 |
if only_verified_results:
|
142 |
dataframe = verified_dataframe
|
|
|
136 |
"Filter for Verified Results",
|
137 |
)
|
138 |
|
139 |
+
selectable_datasets = sorted(list(set(dataframe.dataset.tolist() + verified_dataframe.dataset.tolist())), key=lambda name: name.lower())
|
140 |
|
141 |
if only_verified_results:
|
142 |
dataframe = verified_dataframe
|