CoEDL / elpis

🙊 software for creating speech recognition models.
https://elpis.readthedocs.io/en/latest/
Apache License 2.0
152 stars 33 forks source link

/api/dataset/prepare is called twice #79

Closed benfoley closed 4 years ago

benfoley commented 4 years ago

Seems that the prepare endpoint is run twice when following the standard flow in the GUI.

Replicate by making new dataset, adding files, then press next. In terminal we see "POST /api/dataset/prepare HTTP/1.1" 200 etc, followed by the wordlist data printed twice.

Perhaps the Next button is calling the endpoint, as well as the lifecycle event of the wordlist page?