Page 125 - FULL REPORT 30012024
P. 125
while the 'joblib' library is used to load a pre-trained machine learning
model, enabling real-time monitoring of stroke risk. Flask's session
management enhances security by protecting user information and
ensuring the integrity of the system. The integration codes for MySQL and
the programmes to load the model and label encoder in the flask 'app.py'
are shown in Figure 4.47.
Figure 4.47 Models loader and label encoder codes.
ii. Home Page
The site gives an appealing entrance point for the online application.
Characterised by a sombre colour scheme, it amplifies the liveliness of the
teal highlights used in the navigation bar and the interface preview of the
programme. The site prominently displays the online application name,
"Angin Ahmar. Care," along with the impactful slogan, "Your shield
against the silent threat," successfully expressing the platform's dedication
to promoting health awareness. Figure 4.48 displays a captured image of
the homepage.
108