mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Remove confusing icon for non-compatible models
ModelLoader will now output "not compatible" if no compatible version of model is found for a spaCy version
This commit is contained in:
parent
8db3da3c3d
commit
38ef4274b6
|
@ -54,7 +54,7 @@ for id in CURRENT_MODELS
|
||||||
+cell
|
+cell
|
||||||
.o-field.u-float-left
|
.o-field.u-float-left
|
||||||
select.o-field__select.u-text-small(data-tpl=id data-tpl-key="compat")
|
select.o-field__select.u-text-small(data-tpl=id data-tpl-key="compat")
|
||||||
.o-empty(data-tpl=id data-tpl-key="compat-versions")
|
div(data-tpl=id data-tpl-key="compat-versions")
|
||||||
|
|
||||||
section(data-tpl=id data-tpl-key="benchmarks" style="display: none")
|
section(data-tpl=id data-tpl-key="benchmarks" style="display: none")
|
||||||
+grid.o-block-small
|
+grid.o-block-small
|
||||||
|
|
|
@ -163,11 +163,4 @@
|
||||||
height: 1.4em
|
height: 1.4em
|
||||||
border: none
|
border: none
|
||||||
text-align-last: center
|
text-align-last: center
|
||||||
|
width: 100%
|
||||||
.o-empty:empty:before
|
|
||||||
@include size(1em)
|
|
||||||
border-radius: 50%
|
|
||||||
content: ""
|
|
||||||
display: inline-block
|
|
||||||
background: $color-red
|
|
||||||
vertical-align: middle
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user