Spaces:
Runtime error
Runtime error
Clean up
Browse files
app.py
CHANGED
|
@@ -27,7 +27,6 @@ TASK_TO_ID = {
|
|
| 27 |
"extractive_question_answering": 5,
|
| 28 |
"translation": 6,
|
| 29 |
"summarization": 8,
|
| 30 |
-
# "single_column_regression": 10,
|
| 31 |
}
|
| 32 |
|
| 33 |
###########
|
|
@@ -99,8 +98,6 @@ with st.expander("Advanced configuration"):
|
|
| 99 |
col1, col2 = st.columns(2)
|
| 100 |
|
| 101 |
# TODO: find a better way to layout these items
|
| 102 |
-
# TODO: propagate this information to payload
|
| 103 |
-
# TODO: make it task specific
|
| 104 |
col_mapping = {}
|
| 105 |
if selected_task in ["binary_classification", "multi_class_classification"]:
|
| 106 |
with col1:
|
|
@@ -208,7 +205,7 @@ with st.form(key="form"):
|
|
| 208 |
|
| 209 |
selected_models = st.multiselect(
|
| 210 |
"Select the models you wish to evaluate", compatible_models
|
| 211 |
-
)
|
| 212 |
submit_button = st.form_submit_button("Make submission")
|
| 213 |
|
| 214 |
if submit_button:
|
|
|
|
| 27 |
"extractive_question_answering": 5,
|
| 28 |
"translation": 6,
|
| 29 |
"summarization": 8,
|
|
|
|
| 30 |
}
|
| 31 |
|
| 32 |
###########
|
|
|
|
| 98 |
col1, col2 = st.columns(2)
|
| 99 |
|
| 100 |
# TODO: find a better way to layout these items
|
|
|
|
|
|
|
| 101 |
col_mapping = {}
|
| 102 |
if selected_task in ["binary_classification", "multi_class_classification"]:
|
| 103 |
with col1:
|
|
|
|
| 205 |
|
| 206 |
selected_models = st.multiselect(
|
| 207 |
"Select the models you wish to evaluate", compatible_models
|
| 208 |
+
)
|
| 209 |
submit_button = st.form_submit_button("Make submission")
|
| 210 |
|
| 211 |
if submit_button:
|