Describe the bug
To Reproduce
Steps to reproduce the behavior:
[
{
"predictions": [
{
"created_ago": "2020-06-17T13:42:06.499Z",
"created_username": "admin",
"honeypot": false,
"id": 1,
"lead_time": 5.542,
"result": [
{
"from_name": "label",
"id": "HNmOUgR3rR",
"source": "$text",
"to_name": "text",
"type": "labels",
"value": {
"end": 47,
"labels": [
"Fact"
],
"start": 42,
"text": "water"
}
},
{
"from_name": "label",
"id": "1oDqSgNvL8",
"source": "$text",
"to_name": "text",
"type": "labels",
"value": {
"end": 34,
"labels": [
"Ordinal"
],
"start": 26,
"text": "yourself"
}
}
]
}
],
"data": {
"text": "To have faith is to trust yourself to the water"
},
"id": 0
}
]
Screenshots

Environment (please complete the following information):
Additional context
master and tmp/deserialize branchI've compared between master and tmp/deserialize branch
Is there no difference between in versions for this bug?
@makseq
In the tmp/deserialize branch when I switch between completions to predictions and predictions to completions then my already labeled text will be removed (see below screenshots)
Here February 22 text is labeled with Date

Here February 22 text is not showing that it is labeled or not but at RHS it is showing in the region that text is labeled

@hlomzik @makseq
Even Show labels inside the regions is not working in tmp/deserialize


Hi, @ghanshyamdev thank you for reports!
The first part is fixed and released both to LSF and LS release branch. The second part about labels in text I'll fix soon. Sorry for inconvenience
Thanks, @hlomzik @makseq for solving the issues. I think you've also solved the above issue as well. So I'm closing, the issue is no more persist.
Most helpful comment
Thanks, @hlomzik @makseq for solving the issues. I think you've also solved the above issue as well. So I'm closing, the issue is no more persist.