Skip to content

Commit

Permalink
Merge pull request #211 from ufal/fix-add-example-annotation-for-llm-…
Browse files Browse the repository at this point in the history
…campaigns

Fix adding example annotation for LLM campaigns
  • Loading branch information
kasnerz authored Feb 5, 2025
2 parents 030482c + 028903a commit b5ef175
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion factgenie/static/js/example-annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ function initAnnotation() {

const annotationSpanCategories = getAnnotationSpanCategories();

spanAnnotator.init("words", annotationSpanCategories);
spanAnnotator.init(
"words",
true,
annotationSpanCategories
);

const exampleText = $('#example-text').val();
const p = $('<p>', { class: 'annotatable-paragraph' }).html(exampleText);
Expand Down

0 comments on commit b5ef175

Please sign in to comment.