I’ve been trying for a few days to deploy my initial model on Heroku without anysuccess. It runs fine on Gradient (with voila/render etc), but when deploying on Heroku I get the following error message:
“There was an error when executing cell . Please run Voilà with --debug to see the error message.”
Line 3 is just: learn_inf = load_learner(‘export.pkl’)
[I tried with the path and without it. The model “export.pkl” is in the GIT repository]
I’ll share below a few print screens of the main file, procfile and requirements.txt. Any hints will be greatly appreciated!
web: voila --port=$PORT --no-browser --enable_nbextensions=True Quick_Snake_Classifier_App.ipynb