bugbakery / audapolis

an editor for spoken-word audio with automatic transcription
GNU Affero General Public License v3.0
1.69k stars 40 forks source link

Add option to use unofficial Vosk models #433

Open gweltou opened 1 year ago

gweltou commented 1 year ago

Hi, Is there (or could there be) a way to use Vosk models no listed in the official download list with Audapolis ? I've trained my own model for a low-ressource language and it would be great to be able to use it with your software. So far I've tried to add the model under the ~/.local/share/audapolis (where the downloaded models reside) but it doesn't show in the model selection list in Audapolis. I could use it by renaming my model to use the name of a previously downloaded model but it's kind of hacky...

Thanks a lot !

pajowu commented 1 year ago

Hey,

at the moment there is no easy way to do this. After adding the files you also need to add it to the models.yml in the app code (which might not be easy).

So i think the easiest way it to override an existing model. If you want, you can also add the models to audapolis in the general.