diff --git a/website/src/templates/models.js b/website/src/templates/models.js index dbfab6877..159744aa8 100644 --- a/website/src/templates/models.js +++ b/website/src/templates/models.js @@ -239,7 +239,7 @@ const Model = ({ name, langId, langName, baseUrl, repo, compatibility, hasExampl )} - + {accuracy && accuracy.map(({ label, items }, i) => !items ? null : ( @@ -293,29 +293,31 @@ const Model = ({ name, langId, langName, baseUrl, repo, compatibility, hasExampl .

- {Object.keys(labels).map(pipe => { - const labelNames = labels[pipe] || [] - const help = LABEL_SCHEME_META[pipe] - return ( - - - - - ) - })} + + {Object.keys(labels).map(pipe => { + const labelNames = labels[pipe] || [] + const help = LABEL_SCHEME_META[pipe] + return ( + + + + + ) + })} +
- - - {labelNames.map((label, i) => ( - <> - {i > 0 && ', '} - - {label} - - - ))} -
+ + + {labelNames.map((label, i) => ( + <> + {i > 0 && ', '} + + {label} + + + ))} +
)}