Using sqlalchemy and flask to create webapp that generates movie recommendations (machine learning)