mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-11 19:04:24 +00:00
Add breadcrumbs to users package
This commit is contained in:
1 parent
c91004d6ba
commit
a9767bf3c3
9 files changed
+41
-15
No files matched your search
@@ -4,7 +4,7 @@ from app.models import SpaCyNLPPipelineModel
|
||||
|
||||
def spacy_nlp_pipeline_model_dlc():
|
||||
snpm_id = request.view_args['spacy_nlp_pipeline_model_id']
|
||||
snpm = SpaCyNLPPipelineModel.query.get(snpm_id)
|
||||
snpm = SpaCyNLPPipelineModel.query.get_or_404(snpm_id)
|
||||
return [
|
||||
{
|
||||
'text': f'{snpm.title} {snpm.version}',
|
||||
|
||||
Reference in new issue
Block a user