I have 2 tflite models hosted as s3 objects on aws. In my react-typescript app, I am trying to load those models if the browser is opened on mobile. Else, the web app will use other more efficient models.

The Models interface is as follows:

I have configured the s3 bucket so I can access it from this web app, by changing the CORS configuration. That works. If I go to the network tabs, I see the fetch for the model:
Using Chrome, I can change from mobile to desktop display. The desktop display does not produce any errors. However, the mobile gives me errors that I do not understand.
Ignore the GET error and the date_created console.log. They are from another part of my code that is not relevant to this.
I have searched various resources for deploying a tflite to a web app, but have not found anything useful.
------------------EDIT-------------------
I have tried using the method discussed in this github post

But only get the following error (you can ignore the GET error and isMobile console.log):



