sahil280114/serverless-template-whisper

purpose of download.py file

Mijawel opened this issue · 1 comments

Hey,

just checking, is there any purpose in the download.py file? because init() in app.py seems to also load the model?

download.py is for when deploying on banana. It is run during the docker build to download model weights onto the container so that they aren't downloaded each time the container is run