From 54c4295bf7f2ee5bcee4fa8f1f5f391a402bd59b Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 18 Nov 2024 13:32:55 +0100 Subject: [PATCH] Fixes and more descriptions --- app/templates/contributions/index.html.j2 | 36 +++++++++++++------ .../services/spacy_nlp_pipeline.html.j2 | 2 +- .../services/tesseract_ocr_pipeline.html.j2 | 2 +- 3 files changed, 27 insertions(+), 13 deletions(-) diff --git a/app/templates/contributions/index.html.j2 b/app/templates/contributions/index.html.j2 index dbc7e564..5404ec41 100644 --- a/app/templates/contributions/index.html.j2 +++ b/app/templates/contributions/index.html.j2 @@ -5,21 +5,20 @@

{{ title }}

-

Here you can see and edit the models that you have created. You can also create new models.

+

+ Upload your own language models into nopaque. This is useful for + working with different languages that are not available as standard in + nopaque or if a you want to work with a language model that you have + developed by yourself. Uploaded models can be found in the model list + of the corresponding service and can be used immediately. +

-
-
-
-
-
-
- addCreate -
-
+
+

Tesseract OCR Pipeline Models

-
+
@@ -29,6 +28,21 @@
+ +
+

SpaCy NLP Pipeline Models

+
+ +
+
+
+
+
+
+ addCreate +
+
+
{% endblock page_content %} diff --git a/app/templates/services/spacy_nlp_pipeline.html.j2 b/app/templates/services/spacy_nlp_pipeline.html.j2 index cab56a92..b6a4e2f3 100644 --- a/app/templates/services/spacy_nlp_pipeline.html.j2 +++ b/app/templates/services/spacy_nlp_pipeline.html.j2 @@ -74,7 +74,7 @@ {{ form.model.label }} help_outline - new_label + new_label
diff --git a/app/templates/services/tesseract_ocr_pipeline.html.j2 b/app/templates/services/tesseract_ocr_pipeline.html.j2 index 93d50f08..ac78a521 100644 --- a/app/templates/services/tesseract_ocr_pipeline.html.j2 +++ b/app/templates/services/tesseract_ocr_pipeline.html.j2 @@ -56,7 +56,7 @@ {{ form.model.label }} help_outline - new_label + new_label {% for error in form.model.errors %} {{ error }}