Skip to content
Snippets Groups Projects
Commit cbf3abb4 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add SpaCyNLPPipelineModel to flask shell context

parent 8bee4196
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ from app.models import ( ...@@ -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]: ...@@ -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
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment