Skip to content

Commit

Permalink
Reverting to Max's commit again
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlinwheeless committed Sep 26, 2024
1 parent 5f89a3c commit cd7fe71
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions examples/adding_new_labels_to_project.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"- modify other tags that contain lists of labels, such as `<Choices>` and `<Labels>`.\n",
"\n",
"**Note:** This code utilizes functions from an older version of the Label Studio SDK (v0.0.34).\n",
"The newer versions v1.0 and above still support the functionalities of the old version, but you will need to specify\n",
"[`label_studio_sdk._legacy`](../../README.md) in your script."
"While the newer versions v1.0 and above still support the functionalities of the old version\n",
"(see `label_studio_sdk._legacy` for reference), we recommend using the latest Label Studio SDK v1.0 or higher."
]
},
{
Expand Down Expand Up @@ -218,32 +218,32 @@
},
{
"cell_type": "markdown",
"id": "641c8dd06b76348c",
"source": [
"Now you can get all project IDs where you need to add new labels:"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"Now you can get all project IDs where you need to add new labels:"
]
"id": "641c8dd06b76348c"
},
{
"cell_type": "code",
"execution_count": null,
"id": "fa55edf2c553b707",
"outputs": [],
"source": [
"for project in ls.list_projects():\n",
" add_new_labels(project.id, tag_name, update_taxonomy)"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
},
"outputs": [],
"source": [
"for project in ls.list_projects():\n",
" add_new_labels(project.id, tag_name, update_taxonomy)"
]
"id": "fa55edf2c553b707"
}
],
"metadata": {
Expand Down

0 comments on commit cd7fe71

Please sign in to comment.