DEV Community

loading...

Discussion on: Ice Cream Or Dalmatian? Who Can Tell?! Building a Machine-Learning Powered PWA

Collapse
andrehe001 profile image
Andre Heim

hi Jen, many thanks for this great example. I created the app locally and it works fine. When I upload it to Azure App Service via GitHub actions the process runs through without any problem but the prediction part of the Web App does not work and produces the error:

Request to /models/model.json failed with status code 404. Please verify this URL points to the model JSON of the model to load.

It seems as the model.json file isn't there but looking with Kudu I see the folder and the file. Any hints, what could be wrong?

Collapse
jenlooper profile image
Jen Looper Author

hi, I think you figured it out? I think there's a path issue in your /models folder?