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.txt
Then run with any command line of your choice,
python main.py
An 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.
prototype
contains the training and testing dataset, together withmodel.py
, responsible for handling the prediction of the modelstatic
andtemplates
includes site pages and assetsutils
include the associated componments (handling of SQLite database, forms etc.)test.db
is the developmental database. We use this for testing.