CoEDL / elpis

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

Use downloadjs to trigger model zip download #320

Closed benfoley closed 1 year ago

benfoley commented 1 year ago

When running the code from the hft_model_options PR, model zips were not downloading. Checked in Safari and Chrome.

Wacky, it appears that the model.zip download request response is all fine, just no download. I have added some code to the DownloadButton component, based on what we use for downloading the transcriptions.

Now it downloads as expected

benfoley commented 1 year ago

Yeah, i thought something like that was up cause it worked fine when I hit the endpoint directly myself to check :)