HTML form would not be needed! check routes.py for comments.I have mentioned where to dump the reccomender object and integrate it all.