label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

Text Summarisation template when deployed on heroku stuck at loading screen

Open SupreethRao99 opened this issue 2 years ago • 3 comments

Describe the bug LabelStudio is stuck at the loading screen after creating a new text summarisation project. I used the one-click deploy to heroku to run label studio. After creating a project and uploading the data (4MB is size) and selecting the text summarisation template, the UI viewer does not render. After creating the project the screen is stuck at the loading screen.

To Reproduce Steps to reproduce the behavior:

  • Click on one click deploy to heroku on readme page
  • create project and upload below file as data
  • select text summarisation as template test.csv

Expected behavior Label studio should start up and allow the user annotate data

Screenshots If applicable, add screenshots to help explain your problem. Screenshot 2022-08-01 at 10 29 19 AM

Environment (please complete the following information):

  • OS: Heroku
  • Label Studio Version [e.g. 0.8.0]

Additional context Is there an issue in the way the data is formatted?

SupreethRao99 avatar Aug 01 '22 05:08 SupreethRao99

@SupreethRao99 It's recommended to store data outside of LS and provide links only for LS, e.g.:

{
 "text": "http://example.com/1.txt"
}

with label config:

...
<Text valueType="url" value="text"> 
...

makseq avatar Aug 05 '22 02:08 makseq

thank you @makseq, I'll try that, but I was running into the same issue while running Label Studio locally as a docker container too. in that case I was storing the data in the directory created by the container

SupreethRao99 avatar Aug 05 '22 02:08 SupreethRao99

@makseq, im facing the same issue when I get data from an S3 bucket

SupreethRao99 avatar Aug 05 '22 06:08 SupreethRao99

@SupreethRao99 are you using Safari? What is one text size for one task?

makseq avatar Aug 08 '22 23:08 makseq

@SupreethRao99 are you using Safari?

What is one text size for one task?

Hello, yes , I'm using the latest version of safari, each document that needs to be summarised is about 200-300 words in length

SupreethRao99 avatar Aug 09 '22 00:08 SupreethRao99

What is your label studio version? You need to use 1.5.0post0.

makseq avatar Aug 09 '22 00:08 makseq

The version in the docker container is 1.15.0, I will try running the latest version. Could you build a container with the latest version , thank you !

SupreethRao99 avatar Aug 09 '22 01:08 SupreethRao99

as I remember there should be :1.5.0post0 docker image. Or you can try :latest

makseq avatar Aug 09 '22 01:08 makseq

Thank you, I will try that. Also, label studio running on Heroku is no longer stuck at the loading screen when viewed using Google Chrome

SupreethRao99 avatar Aug 09 '22 01:08 SupreethRao99

Yes, it's well-known issue that was fixed in 1.5.0post0.

makseq avatar Aug 09 '22 01:08 makseq