Skip to content

Commit 9256807

Browse files
authored
Update video.ipynb
removing "media_type=MediaType.Video" from dataset since this cause an error : InvalidAttributeError: Field(s) ''media_type'' not valid on DB type 'Dataset'("Field(s) ''media_type'' not valid on DB type 'Dataset'", None)
1 parent b175d35 commit 9256807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/annotation_import/video.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"# Lets setup a project to label\n",
123123
"# Note see Ontology, Project, and Project_setup notebooks for more information on this section.\n",
124124
"project = client.create_project(name=\"video_mal_project\", media_type=MediaType.Video)\n",
125-
"dataset = client.create_dataset(name=\"video_mal_dataset\", media_type=MediaType.Video)\n",
125+
"dataset = client.create_dataset(name=\"video_mal_dataset\")\n",
126126
"dataset.create_data_row(\n",
127127
" row_data=\n",
128128
" \"https://storage.labelbox.com/cjhfn5y6s0pk507024nz1ocys%2Fb8837f3b-b071-98d9-645e-2e2c0302393b-jellyfish2-100-110.mp4\"\n",

0 commit comments

Comments
 (0)