--- a +++ b/index.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} {% block content %} + +<h2>ECG Arrhythmia Classifier</h2> + +<div> + <form id="upload-file" method="post" enctype="multipart/form-data"> + <label for="imageUpload" class="upload-label"> + Choose... + </label> + <input type="file" name="file" id="imageUpload" accept=".csv"> + </form> + + <div class="image-section" style="display:none;"> + <div> + <div> + </div> + </div> + <div> + <button type="button" class="btn btn-primary btn-lg " id="btn-predict">Predict!</button> + </div> + </div> + + <div class="loader" style="display:none;"></div> + + <h3 id="result"> + <span> </span> + </h3> + +</div> + +{% endblock %} \ No newline at end of file