File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/model_assisted_labeling Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 162162 " \n " ,
163163 " # # Create one Labelbox dataset\n " ,
164164 " dataset = client.create_dataset(name=\" video_annotation_import_demo_dataset\" )\n " ,
165- " uploads = {\n " ,
165+ " upload = {\n " ,
166166 " \" row_data\" :\" https://storage.googleapis.com/labelbox-datasets/video-sample-data/sample-video-2.mp4\" ,\n " ,
167167 " \" global_key\" : \" TEST-ID-%id\" % uuid.uuid1()\n " ,
168168 " }\n " ,
169169 " \n " ,
170- " data_row = dataset.create_data_row(uploads )\n " ,
170+ " data_row = dataset.create_data_row(upload )\n " ,
171171 " print(data_row)\n " ,
172172 " \n " ,
173173 " \n " ,
191191 "cell_type" : " code" ,
192192 "source" : [
193193 " # We need the data row ID to create a batch\n " ,
194- " batch_datarows = [dr.uid for dr in list( dataset.export_data_rows() )]\n " ,
194+ " batch_datarows = [dr.uid for dr in dataset.export_data_rows()]\n " ,
195195 " \n " ,
196196 " # Create a batch to send to your MAL project\n " ,
197197 " batch_mal = mal_project.create_batch(\n " ,
You can’t perform that action at this time.
0 commit comments