2
2
3
3
{% block body %}
4
4
< br >
5
- < div class ="container px-2 col-lg-5 col-sm-12 ">
6
- < h1 class ="text-center "> Heart Disease Prediction</ h1 >
7
- < form action ="{{ url_for('predict_heart') }} " method ="POST ">
8
- < input class ="form-input " type ="text " name ="age " placeholder ="Age (years) eg. 34 " required > < br >
9
- < input class ="form-input " type ="text " name ="sex " placeholder ="Sex (eg. 0: Female, 1:Male) " required > < br >
10
- < input class ="form-input " type ="text " name ="chestpaintype " placeholder ="Chest Pain Type " required > < br >
11
- < input class ="form-input " type ="text " name ="trestbps " placeholder ="Trestbps " required > < br >
12
- < input class ="form-input " type ="text " name ="serumcholestoral " placeholder ="Serum cholestoral in mg/dl " required > < br >
13
- < input class ="form-input " type ="text " name ="restecg " placeholder ="Restecg " required > < br >
14
- < input class ="form-input " type ="text " name ="thalach " placeholder ="Thalach " required > < br >
15
- < input class ="form-input " type ="text " name ="exang " placeholder ="Exang " required > < br >
16
- < input class ="form-input " type ="text " name ="oldpeak " placeholder ="Oldpeak " required > < br >
17
- < input class ="form-input " type ="text " name ="slope " placeholder ="Slope " required > < br >
18
- < input class ="form-input " type ="text " name ="thal " placeholder ="Thal " required > < br >
19
- < input type ="submit " class ="my-cta-button " value ="Predict ">
20
- </ form >
21
- </ div >
5
+ < div class ="container ">
6
+ < h1 class ="text-center mb-2 pb-2 "> < u > Heart Disease Prediction</ u > </ h1 >
7
+ </ div >
8
+ < div class ="container-castome mx-auto ">
9
+ < form action ="{{ url_for('predict_heart') }} " method ="POST ">
10
+ < div class ="form-group ">
11
+ < label class ="lb-lg "> Age</ label >
12
+ < input type ="text " class ="form-control " name ="age " placeholder ="Age (years) eg. 34 ">
13
+ </ div >
14
+
15
+ < div class ="form-group ">
16
+ < label class ="lb-lg "> Sex</ label >
17
+ < select class ="form-control " name ="sex ">
18
+ < option value ="0 "> Female</ option >
19
+ < option value ="1 "> Male</ option >
20
+ </ select >
21
+ </ div >
22
+
23
+ < div class ="form-group ">
24
+ < label class ="lb-lg "> Chest Pain</ label >
25
+ < select class ="form-control " name ="chestpaintype ">
26
+ < option value ="1 "> Yes</ option >
27
+ < option value ="0 "> No</ option >
28
+ </ select >
29
+ </ div >
30
+
31
+ < div class ="form-group ">
32
+ < label class ="lb-lg "> Trestbps</ label >
33
+ < input type ="text " class ="form-control " name ="trestbps " placeholder ="Trestbps ">
34
+ </ div >
35
+
36
+ < div class ="form-group ">
37
+ < label class ="lb-lg "> Serum Cholestoral</ label >
38
+ < input type ="text " class ="form-control " name ="serumcholestoral " placeholder ="Serum cholestoral in mg/dl ">
39
+ </ div >
40
+
41
+ < div class ="form-group ">
42
+ < label class ="lb-lg "> Restecg</ label >
43
+ < input type ="text " class ="form-control " name ="restecg " placeholder ="Restecg ">
44
+ </ div >
45
+
46
+ < div class ="form-group ">
47
+ < label class ="lb-lg "> Thalach</ label >
48
+ < input type ="text " class ="form-control " name ="thalach " placeholder ="Thalach ">
49
+ </ div >
50
+
51
+ < div class ="form-group ">
52
+ < label class ="lb-lg "> Exang</ label >
53
+ < input type ="text " class ="form-control " name ="exang " placeholder ="Exang ">
54
+ </ div >
55
+
56
+ < div class ="form-group ">
57
+ < label class ="lb-lg "> Oldpeak</ label >
58
+ < input type ="text " class ="form-control " name ="oldpeak " placeholder ="Oldpeak ">
59
+ </ div >
60
+
61
+ < div class ="form-group ">
62
+ < label class ="lb-lg "> Slope</ label >
63
+ < input type ="text " class ="form-control " name ="slope " placeholder ="Slope ">
64
+ </ div >
65
+
66
+ < div class ="form-group ">
67
+ < label class ="lb-lg "> Thal</ label >
68
+ < input type ="text " class ="form-control " name ="thal " placeholder ="Thal ">
69
+ </ div >
70
+
71
+ < div class ="text-center mb-5 pb-4 ">
72
+ < input type ="submit " class ="my-cta-button " value ="Predict ">
73
+ </ div >
74
+ </ form >
75
+ </ div >
22
76
23
77
{% endblock %}
0 commit comments