Failed to integrate deep learning(.h5) model to webapp

While building web app using flask on Medical Image analysis,I downloaded deep learning model(.h5 ) files from someone’s github repos ,since my PC has no GPU.

While running the webapp on local server, everything runs fine but as soon as hit enter on the ‘analyze image’ button , it doesn’t work .

I wonder that deep learning model is not being processed in back-end because I’ve not run the model.h5 file in my local machine! Can’t I use pretrained model from someones repository?

I’m looking for suitable way out from this forum.
Thanks & Regards.