on a direct URL (http://127.0.0.1:5000/ predict) I'm getting the following error!! (name 'graph' is not defined) when which is also defined globally