Open jmartin-sul opened 2 months ago
possible storytime fodder
Perhaps we could add a unit test that compares the list of models:
https://github.com/openai/whisper/blob/main/whisper/__init__.py#L17-L32
with the ones in https://github.com/sul-dlss/speech-to-text/blob/main/whisper_models/urls.txt
Then when we update whisper, and there is a new model, the test will start to fail? We will need to remember that fixing the test requires rebuilding the Docker container...
this list has the URLs for retrieving models as setup for building the container: https://github.com/sul-dlss/speech-to-text/blob/main/whisper_models/urls.txt
see also https://github.com/sul-dlss/speech-to-text?tab=readme-ov-file#build