HumanSignal / HumanSignal/label-studio
Labeling Interface won't finish loading for simple TextArea labeling task with pre-annotation.
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
The labeling interface on a new project sits at the loading bar for a very long time. It is a sequence-to-sequence labeling tasks, and tasks are loading just fine on another project with much longer text.
**To Reproduce**
Steps to reproduce the behavior:
1. This is my interface xml:
```
</View>
```
2. This is a small example task json, with a (fake) prediction to use as pre-annotation:
```
{'data': {'excel_file': 'Redacted Customer Name',
'sheet_name': 'P&L- Monthly',
'mongo_id': '664e22cdbe7762824cd41056',
'official_fields': "['Revenues', 'Cost of Good Sold', 'Gross Profit', 'Operating Expenses', 'Depreciation & Amortization', 'Operating Income', 'Interest', 'Taxes', 'EBITDA', 'EBITDA Adjustments', 'Adjusted EBITDA']"},
'meta': {},
'annotations': [],
'predictions': [{'model_version': 'claude-3-haiku-20240307',
'result': [{'id': None,
'from_name': 'target_sequence',
'to_name': 'official_fields',
'type': 'textarea',
'value': {'text': ['this is fake and short']}}]}],
'prediction_model': 'claude-3-haiku-20240307',
'id': 0}
**Expected behavior**
The labeling interface should eventually load completely.
**Screenshots**
This is what I see, and it just sits there forever. Notice that all the data seem to be loading, but they're in the background waiting for the progress bar to stop. Again, a simlar task that has large csv files as input texts and very long textarea outputs on a similar project are loading just fine.

**Environment (please complete the following information):**
- OS: Sonoma 14.4.1 is the local machine where the browser is running
- Label Studio is running on a t2.large EC2 box with Ubuntu 22.04.4
- Label Studio Version 1.12.0
**Additional context**
- I can provide an axample from the other project that works if that will help to use as a reference point.
- Label-studio is not running inside a docker container, but there are two other docker lightweight containers running on the same machine
- I have tried rebooting the EC2 instance as well as Label Studio and have done a `docker system prune` just in case there were disk space issues making things hang up. The problem persisted through those initial sniff tests.
Contributor guide
Assessment
This issue has not been assessed yet.