Spaces:
Runtime error
Runtime error
Add application file
Browse files- 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 |
|