How can I deploy an app without uploading pretrained models on github?

Hi, I’m trying to deploy an app using my pretrained models. But I’m having trouble with uploading my pretrained models on github as they are too large.
Is there any way that I can deploy an app without uploading pretrained models on github?
Thanks.

Hi @yeoun -

How large are the models you are talking about? Streamlit sharing now has support for Git LFS, which some have used to get more storage capability.

You could also host on a public cloud bucket such as AWS S3 or Dropbox or others and download the models using the urllib3 or requests library. Most important thing here is to cache this operation, so that the download only happens one time.

Best,
Randy