Loading a model alongside the API endpoint server

In general you may want to consider the details in this post which describe the DataTable storage limits on various plans. If that will not work for you, you could consider GoogleDrive integration. Also the Jupyter demo might be helpful as I believe the model is computed locally and then Anvil provides the front end. The app connects to the local computer via Anvil uplink. I realize you may want a different set up, but maybe that will give you some ideas in terms of how to proceed.