diff --git a/app/contributions/spacy_nlp_pipeline_models/routes.py b/app/contributions/spacy_nlp_pipeline_models/routes.py index 609941fc..fd972902 100644 --- a/app/contributions/spacy_nlp_pipeline_models/routes.py +++ b/app/contributions/spacy_nlp_pipeline_models/routes.py @@ -18,7 +18,7 @@ def spacy_nlp_pipeline_models(): ) -@bp.route('/create') +@bp.route('/create', methods=['GET', 'POST']) @login_required def create_spacy_nlp_pipeline_model(): form_prefix = 'create-spacy-nlp-pipeline-model-form'