This was done for National AI Challenge 2022.
See attached write-up for more information.
You require the following packages (all avaiable via pip)
- Python 3.10.7
- SQLite
- WTForms
- Flask
- Flask-Login
- SGNlp
Using the following command:
pip install -r requirements.txtThen run with any command line of your choice,
python main.pyAn instance of the site will start running at 127.0.0.1:5000.
Two existing users, admin and student are already included in the database test.db. You can log in to them via the demo.
prototypecontains the training and testing dataset, together withmodel.py, responsible for handling the prediction of the modelstaticandtemplatesincludes site pages and assetsutilsinclude the associated componments (handling of SQLite database, forms etc.)test.dbis the developmental database. We use this for testing.