|
a |
|
b/src/templates/index.html |
|
|
1 |
{% extends "base.html" %} {% block content %} |
|
|
2 |
|
|
|
3 |
<h2> csv file less than 5MB only! </h2> |
|
|
4 |
|
|
|
5 |
<h5> Code Description </h5> |
|
|
6 |
N : Normal beat <br> |
|
|
7 |
A : Atrial premature beat <br> |
|
|
8 |
Venticular : Premature ventricular contraction <br> |
|
|
9 |
F : Fusion of ventricular and normal beat <br> |
|
|
10 |
Paced : Paced beat <br> |
|
|
11 |
Noise : Noise (not kind of heart beat) <br> |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
<div> |
|
|
15 |
|
|
|
16 |
<form id="upload-file" method="post" enctype="multipart/form-data"> |
|
|
17 |
<label for="imageUpload" class="upload-label"> |
|
|
18 |
Choose... |
|
|
19 |
</label> |
|
|
20 |
<input type="file" name="file" id="imageUpload" accept = ".csv"> |
|
|
21 |
</form> |
|
|
22 |
|
|
|
23 |
<div class="image-section" style="display:none;"> |
|
|
24 |
<div> |
|
|
25 |
<button type="button" class="btn btn-primary btn-lg " id="btn-predict">Predict!</button> |
|
|
26 |
</div> |
|
|
27 |
</div> |
|
|
28 |
|
|
|
29 |
<div class="loader" style="display:none;"></div> |
|
|
30 |
<h5 id="result"> |
|
|
31 |
<span> </span> |
|
|
32 |
</h5> |
|
|
33 |
|
|
|
34 |
</div> |
|
|
35 |
|
|
|
36 |
{% endblock %} |