scikit-learn flask requests