Thank you for your article. I am having trouble getting my flask with scikit-learn to work on production. I tried gunicorn/wsgi but I keep getting a NameError: global name ‘clf ’ is not defined. However if I just run python app.py it works on my local. Any suggestions?