Use full model name in quickstart install [ci skip]

This commit is contained in:
Ines Montani 2019-09-15 17:56:54 +02:00
parent c7e4ea7154
commit 57f4c088be

View File

@ -88,9 +88,9 @@ const QuickstartInstall = ({ id, title }) => (
</QS> </QS>
<QS package="source">pip install -r requirements.txt</QS> <QS package="source">pip install -r requirements.txt</QS>
<QS package="source">python setup.py build_ext --inplace</QS> <QS package="source">python setup.py build_ext --inplace</QS>
{models.map(({ code }) => ( {models.map(({ code, models: modelOptions }) => (
<QS models={code} key={code}> <QS models={code} key={code}>
python -m spacy download {code} python -m spacy download {modelOptions[0]}
</QS> </QS>
))} ))}
</Quickstart> </Quickstart>