mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +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,
|
||||
Role,
|
||||
TesseractOCRPipelineModel,
|
||||
SpaCyNLPPipelineModel,
|
||||
User
|
||||
) # noqa
|
||||
from flask import Flask # noqa
|
||||
@ -42,6 +43,7 @@ def make_shell_context() -> Dict[str, Any]:
|
||||
'Permission': Permission,
|
||||
'Role': Role,
|
||||
'TesseractOCRPipelineModel': TesseractOCRPipelineModel,
|
||||
'SpaCyNLPPipelineModel': SpaCyNLPPipelineModel,
|
||||
'User': User
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user