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 (
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
}
......
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