Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit b8b391e

Browse files
Update uploader.py
1 parent ad08588 commit b8b391e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelpandas/uploader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def create_upload_dict(client:labelboxClient, table: pandas.core.frame.DataFrame
145145
model_id_col, model_id, model_run_id_col, model_run_id,
146146
metadata_index, attachment_index, annotation_index, prediction_index,
147147
project_id_to_ontology_index, model_run_id_to_ontology_index, model_id_to_model_run_id,
148-
annotate_action, prediction_action,
148+
create_action, annotate_action, prediction_action,
149149
metadata_name_key_to_schema, upload_method, mask_method, divider, verbose
150150
))
151151
for f in as_completed(futures):
@@ -168,7 +168,7 @@ def create_upload(row_dict:dict, row_data_col:str, global_key_col:str, external_
168168
model_id_col:str, model_id:str, model_run_id_col:str, model_run_id:str,
169169
metadata_index:dict, attachment_index:dict, annotation_index:dict, prediction_index:dict,
170170
project_id_to_ontology_index:dict, model_run_id_to_ontology_index:dict, model_id_to_model_run_id:dict,
171-
annotate_action:bool, prediction_action:bool,
171+
create_action:bool, annotate_action:bool, prediction_action:bool,
172172
metadata_name_key_to_schema:dict, upload_method:str, mask_method:str,
173173
divider:str, verbose:bool):
174174
""" Takes a single table row as-a-dictinary and returns a dictionary where:

0 commit comments

Comments
 (0)