You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Here we create the complete label ndjson payload of annotations only using python annotation format. There is one annotation for each reference to an annotation that we created. Note that only a handful of python annotation types are supported for PDF documents."
509
+
"Here we create the complete labels ndjson payload of annotations only using python annotation format. There is one annotation for each reference to an annotation that we created. Note that only a handful of python annotation types are supported for PDF documents."
518
510
],
519
511
"cell_type": "markdown"
520
512
},
@@ -523,12 +515,13 @@
523
515
"source": [
524
516
"# create a Label\n",
525
517
"\n",
526
-
"label = []\n",
518
+
"labels = []\n",
527
519
"for data_row in dataset.export_data_rows():\n",
528
-
"label.append(lb_types.Label(\n",
520
+
"labels.append(lb_types.Label(\n",
529
521
" data=lb_types.TextData(\n",
530
522
" uid=data_row.uid),\n",
531
523
" annotations = [\n",
524
+
" entities_annotation,\n",
532
525
" checklist_annotation, \n",
533
526
" text_annotation,\n",
534
527
" radio_annotation\n",
@@ -544,7 +537,7 @@
544
537
"metadata": {},
545
538
"source": [
546
539
"#### NDJson annotations\n",
547
-
"Here we create the complete label ndjson payload of annotations only using NDJSON format. There is one annotation for each reference to an annotation that we created above."
540
+
"Here we create the complete labels ndjson payload of annotations only using NDJSON format. There is one annotation for each reference to an annotation that we created above."
0 commit comments