anna-tch commited on
Commit
a41f10a
·
1 Parent(s): 353c2cb

Add application file

Browse files
Files changed (1) hide show
  1. ui_handler.py +1 -1
ui_handler.py CHANGED
@@ -37,7 +37,7 @@ def go_back_ui():
37
 
38
  return textboxes + [gr.update(value=prev_annotated_id)] # Show the previous annotation
39
 
40
- def create_ui(dataset):
41
  """Creates the Gradio UI for annotation."""
42
  generation_columns = get_generation_columns(dataset)
43
 
 
37
 
38
  return textboxes + [gr.update(value=prev_annotated_id)] # Show the previous annotation
39
 
40
+ def create_ui(dataset, current_index):
41
  """Creates the Gradio UI for annotation."""
42
  generation_columns = get_generation_columns(dataset)
43