-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
51 lines (43 loc) · 2.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Diabetes Predictor</title>
<link rel="shortcut icon" href="{{ url_for('static', filename='diabetes-favicon.ico') }}">
<link rel="stylesheet" type="text/css" href="static/styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Exo+2:wght@300;500;700&family=Josefin+Sans&family=Raleway:ital,wght@1,300&display=swap" rel="stylesheet">
</head>
<body>
<!-- Website Title -->
<div class="container">
<h2 class='container-heading'><span class="heading_font">Diabetes Predictor</span></h2>
<div class='description'>
<p>A Machine Learning Web App, Built with Flask, Deployed using Heroku.</p>
</div>
</div>
<!-- Text Area -->
<div class="ml-container">
<form action="{{ url_for('predict') }}" method="POST">
<input class="form-input" type="text" name="pregnancies" placeholder="Number of Pregnancies eg. 0"><br>
<input class="form-input" type="text" name="glucose" placeholder="Glucose (mg/dL) eg. 80"><br>
<input class="form-input" type="text" name="bloodpressure" placeholder="Blood Pressure (mmHg) eg. 80"><br>
<input class="form-input" type="text" name="skinthickness" placeholder="Skin Thickness (mm) eg. 20"><br>
<input class="form-input" type="text" name="insulin" placeholder="Insulin Level (IU/mL) eg. 80"><br>
<input class="form-input" type="text" name="bmi" placeholder="Body Mass Index (kg/m²) eg. 23.1"><br>
<input class="form-input" type="text" name="dpf" placeholder="Diabetes Pedigree Function eg. 0.52"><br>
<input class="form-input" type="text" name="age" placeholder="Age (years) eg. 34"><br>
<input type="submit" class="my-cta-button" value="Predict">
</form>
</div>
<!-- Footer -->
<div class='footer'>
<div class="contact">
<a target="_blank" href=><i class="fab fa-github fa-lg contact-icon"></i></a>
<a target="_blank" href=><i class="fab fa-linkedin fa-lg contact-icon"></i></a>
</div>
<p class='footer-description'>Made with ❤️ by Rehana shaik.</p>
</div>
</body>
</html>