Spaces:
Running
Running
louismichel
commited on
Commit
•
9daae07
1
Parent(s):
f7eb0d8
Upload index.html
Browse files- index.html +117 -0
index.html
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html >
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>HEART RESCUE</title>
|
6 |
+
</head>
|
7 |
+
<body>
|
8 |
+
<style>
|
9 |
+
body {font-family: Arial, Helvetica, sans-serif;
|
10 |
+
background: linear-gradient(to bottom, #2a967b 60%, #4c4d52 50%, #E2E7ED 50%), linear-gradient(to bottom, rgba(0,0,0,0.02) 50%, rgba(255,255,255,0.02) 61%, rgba(0,0,0,0.02) 73%), linear-gradient(33deg, rgba(255,255,255,0.20) 0%, rgba(0,0,0,0.20) 100%);
|
11 |
+
background-blend-mode: normal,color-burn;
|
12 |
+
}
|
13 |
+
* {box-sizing: border-box;}
|
14 |
+
input[type=text], select, textarea, option {
|
15 |
+
width: 100%;
|
16 |
+
padding: 12px;
|
17 |
+
color:black;
|
18 |
+
opacity:0.8;
|
19 |
+
border: 1px solid #ccc;
|
20 |
+
border-radius: 4px;
|
21 |
+
box-sizing: border-box;
|
22 |
+
margin-top: 6px;
|
23 |
+
margin-bottom: 16px;
|
24 |
+
resize: vertical;
|
25 |
+
}
|
26 |
+
select{
|
27 |
+
color:black;
|
28 |
+
opacity: 0.8;
|
29 |
+
}
|
30 |
+
|
31 |
+
input[type=submit] {
|
32 |
+
background-color: #4CAF50;
|
33 |
+
color: white;
|
34 |
+
padding: 12px 20px;
|
35 |
+
border: none;
|
36 |
+
border-radius: 4px;
|
37 |
+
cursor: pointer;
|
38 |
+
}
|
39 |
+
|
40 |
+
input[type=submit]:hover {
|
41 |
+
background-color: #a0456f;
|
42 |
+
}
|
43 |
+
|
44 |
+
.container {
|
45 |
+
border-radius: 5px;
|
46 |
+
background-color: #f2f2f2;
|
47 |
+
padding: 20px;
|
48 |
+
}
|
49 |
+
.grid-container {
|
50 |
+
display: grid;
|
51 |
+
grid-template-columns: auto auto auto;
|
52 |
+
padding: 5px;
|
53 |
+
}
|
54 |
+
.grid-item {
|
55 |
+
padding: 5px;
|
56 |
+
font-size: 15px;
|
57 |
+
text-align: center;
|
58 |
+
}
|
59 |
+
footer {
|
60 |
+
text-align: center;
|
61 |
+
padding: 3px;
|
62 |
+
background-color: grey;
|
63 |
+
color: white;
|
64 |
+
}
|
65 |
+
</style>
|
66 |
+
<div>
|
67 |
+
<h1><center>HEART RESCUE</center></h1>
|
68 |
+
<div>
|
69 |
+
<h3><center>The solution deployed here is to enable the rapid detection of 8 major groups of heart failure:</center></h3>
|
70 |
+
<div style="display:inline-block;vertical-align:top;">
|
71 |
+
<img src="ks.png" height="300px" width="400px" />
|
72 |
+
</div>
|
73 |
+
<div style="display:inline-block;">
|
74 |
+
<h3><center>- Rythms</center></h3>
|
75 |
+
<h3><center>- Electric axis of the heart</center></h3>
|
76 |
+
<h3><center>- Conduction abnormalities</center></h3>
|
77 |
+
<h3><center>- Extrasystolies</center></h3>
|
78 |
+
<h3><center>- Hypertrophies</center></h3>
|
79 |
+
<h3><center>- Cardiac pacing</center></h3>
|
80 |
+
<h3><center>- Ischemia</center></h3>
|
81 |
+
<h3><center>- Non-specific repolarization abnormalities</center></h3>
|
82 |
+
</div>
|
83 |
+
<br>
|
84 |
+
<h3><center>NB: For better accuracy, the electrical signal transmitted must be sampled at 300 Hz along the six frontal leads and the six horizontal leads</center></h3>
|
85 |
+
</div>
|
86 |
+
<br>
|
87 |
+
<form action="{{ url_for('predict')}}" method="post" enctype="multipart/form-data">
|
88 |
+
<div class="grid-container">
|
89 |
+
<div class="grid-item">Age<input type="text" name="Age" placeholder="Enter Age" required="required" /></div>
|
90 |
+
<br>
|
91 |
+
<div class="grid-item">Gender
|
92 |
+
<select name="Gender" id="gender" required>
|
93 |
+
<option value="" selected disabled hidden>Select Gender</option>
|
94 |
+
<option value = 1>Male</option>
|
95 |
+
<option value = 0>Female</option>
|
96 |
+
</select>
|
97 |
+
</div>
|
98 |
+
<br>
|
99 |
+
<div class="grid-item">Upload the signal here
|
100 |
+
<input type="file" id="signal" name="signal" placeholder="Choose" required="required" accept=".csv, .dat"/>
|
101 |
+
</div>
|
102 |
+
|
103 |
+
|
104 |
+
</div>
|
105 |
+
<br>
|
106 |
+
<button type="submit" class="btn btn-primary btn-lg btn-block">Predict</button>
|
107 |
+
|
108 |
+
</form>
|
109 |
+
<br>
|
110 |
+
</div>
|
111 |
+
<footer>
|
112 |
+
<center>Copyright © 2022 All rights reserved | This website is made by louis_michel</center>
|
113 |
+
</footer>
|
114 |
+
|
115 |
+
|
116 |
+
</body>
|
117 |
+
</html>
|