noahgift / flask-ml-azure-serverless

Deploy Flask Machine Learning Application on Azure App Services
99 stars 199 forks source link

make_prediction.sh doesn't exist #4

Open durandsinclair opened 2 years ago

durandsinclair commented 2 years ago

The book & README.md asks us to run ./make_prediction.sh but I can't find it in the repo.

There is a file called make_predict.sh but running it locally (after app.py is running in another tab) results in a long html script being printed in the terminal which includes error messages such as " AttributeError: 'LeastSquaresError' object has no attribute 'get_init_raw_predictions' // Werkzeug Debugger ".

Just wondering if there's a missing file that got lost along the way? Thanks!

dagartga commented 2 years ago

I had this same issue. I don't know what the solution is. If you figured it out, please share.

andrzejzera commented 2 years ago

The following set of requirements helped me solve the problem: Flask==1.1.2 pandas==0.24.2 scikit-learn==0.20.3

make_prediction.sh must be a typo in the README, make_predict.sh is the correct file