Skip to content

Commit 3eabd6e

Browse files
authored
Merge pull request #839 from Labelbox/ovalle15-patch-2
Update colab links + removed signing function
2 parents 8cef3a5 + c9d7590 commit 3eabd6e

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

examples/annotation_import/image.ipynb

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
},
2121
"source": [
2222
"<td>\n",
23-
"<a href=\"https://colab.research.google.com/github/Labelbox/labelbox-python/blob/develop/examples/annotation_import/image_annotation_import.ipynb\" target=\"_blank\"><img\n",
23+
"<a href=\"https://colab.research.google.com/github/Labelbox/labelbox-python/blob/develop/examples/annotation_import/image.ipynb\" target=\"_blank\"><img\n",
2424
"src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"></a>\n",
2525
"</td>\n",
2626
"\n",
2727
"\n",
2828
"\n",
2929
"\n",
3030
"<td>\n",
31-
"<a href=\"https://github.com/Labelbox/labelbox-python/tree/develop/examples/annotation_import/image_annotation_import.ipynb\" target=\"_blank\"><img\n",
31+
"<a href=\"https://github.com/Labelbox/labelbox-python/tree/develop/examples/annotation_import/image.ipynb\" target=\"_blank\"><img\n",
3232
"src=\"https://img.shields.io/badge/GitHub-100000?logo=github&logoColor=white\" alt=\"GitHub\"></a>\n",
3333
"</td>"
3434
]
@@ -810,13 +810,6 @@
810810
" ]\n",
811811
")\n",
812812
"\n",
813-
"# Create urls to mask data for upload\n",
814-
"def signing_function(obj_bytes: bytes) -> str:\n",
815-
" url = client.upload_data(content=obj_bytes, sign=True)\n",
816-
" return url\n",
817-
"\n",
818-
"label.add_url_to_masks(signing_function)\n",
819-
"\n",
820813
"# Convert our label from a Labelbox class object to the underlying NDJSON format required for upload \n",
821814
"label_ndjson = list(NDJsonConverter.serialize([label]))"
822815
],

0 commit comments

Comments
 (0)