Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
c42c357
1
Parent(s):
f6ae6d8
up
Browse files
app.py
CHANGED
@@ -149,16 +149,21 @@ def main():
|
|
149 |
|
150 |
all_dataframes, all_datasets, all_metrics = main()
|
151 |
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
dataset = st.selectbox(
|
154 |
'Dataset',
|
155 |
-
|
156 |
index=1,
|
157 |
)
|
158 |
|
159 |
metric = st.selectbox(
|
160 |
'Metric',
|
161 |
-
|
162 |
index=1,
|
163 |
)
|
164 |
|
|
|
149 |
|
150 |
all_dataframes, all_datasets, all_metrics = main()
|
151 |
|
152 |
+
datasets_select = list(all_datasets)
|
153 |
+
sorted(datasets_select)
|
154 |
+
metric_select = list(all_metrics)
|
155 |
+
sorted(metric_select)
|
156 |
+
|
157 |
|
158 |
dataset = st.selectbox(
|
159 |
'Dataset',
|
160 |
+
datasets_select,
|
161 |
index=1,
|
162 |
)
|
163 |
|
164 |
metric = st.selectbox(
|
165 |
'Metric',
|
166 |
+
metric_select,
|
167 |
index=1,
|
168 |
)
|
169 |
|