mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 03:14:19 +00:00
Add SpaCyNLPPipelineModel to flask shell context
This commit is contained in:
parent
8bee4196d3
commit
cbf3abb424
@ -13,6 +13,7 @@ from app.models import (
|
|||||||
Permission,
|
Permission,
|
||||||
Role,
|
Role,
|
||||||
TesseractOCRPipelineModel,
|
TesseractOCRPipelineModel,
|
||||||
|
SpaCyNLPPipelineModel,
|
||||||
User
|
User
|
||||||
) # noqa
|
) # noqa
|
||||||
from flask import Flask # noqa
|
from flask import Flask # noqa
|
||||||
@ -42,6 +43,7 @@ def make_shell_context() -> Dict[str, Any]:
|
|||||||
'Permission': Permission,
|
'Permission': Permission,
|
||||||
'Role': Role,
|
'Role': Role,
|
||||||
'TesseractOCRPipelineModel': TesseractOCRPipelineModel,
|
'TesseractOCRPipelineModel': TesseractOCRPipelineModel,
|
||||||
|
'SpaCyNLPPipelineModel': SpaCyNLPPipelineModel,
|
||||||
'User': User
|
'User': User
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user