Spaces:
Runtime error
Runtime error
Tristan Thrush
commited on
Commit
•
faca395
1
Parent(s):
5ae6c99
line length
Browse files
app.py
CHANGED
@@ -307,7 +307,8 @@ with st.form(key="form"):
|
|
307 |
html_string = " ".join(
|
308 |
[
|
309 |
'<div style="padding-right:5px;padding-left:5px;padding-top:5px;padding-bottom:5px;float:left">'
|
310 |
-
+ '<div style="background-color:#D3D3D3;border-radius:5px;display:inline-block;padding-right:5px;
|
|
|
311 |
+ metric
|
312 |
+ "</div></div>"
|
313 |
for metric in TASK_TO_DEFAULT_METRICS[selected_task]
|
@@ -319,7 +320,8 @@ with st.form(key="form"):
|
|
319 |
list(set(supported_metrics) - set(TASK_TO_DEFAULT_METRICS[selected_task])),
|
320 |
)
|
321 |
st.info(
|
322 |
-
"Note: user-selected metrics will be run with their default arguments from
|
|
|
323 |
)
|
324 |
|
325 |
selected_models = st.multiselect("Select the models you wish to evaluate", compatible_models)
|
|
|
307 |
html_string = " ".join(
|
308 |
[
|
309 |
'<div style="padding-right:5px;padding-left:5px;padding-top:5px;padding-bottom:5px;float:left">'
|
310 |
+
+ '<div style="background-color:#D3D3D3;border-radius:5px;display:inline-block;padding-right:5px;'
|
311 |
+
+ 'padding-left:5px;color:white">'
|
312 |
+ metric
|
313 |
+ "</div></div>"
|
314 |
for metric in TASK_TO_DEFAULT_METRICS[selected_task]
|
|
|
320 |
list(set(supported_metrics) - set(TASK_TO_DEFAULT_METRICS[selected_task])),
|
321 |
)
|
322 |
st.info(
|
323 |
+
"Note: user-selected metrics will be run with their default arguments from "
|
324 |
+
+ "[here](https://github.com/huggingface/datasets/tree/master/metrics)"
|
325 |
)
|
326 |
|
327 |
selected_models = st.multiselect("Select the models you wish to evaluate", compatible_models)
|