Diff of /templates/index.html [000000] .. [9dc5df]

Switch to unified view

a b/templates/index.html
1
{% extends "Home.html" %} {% block content %}
2
<center>
3
<h2>Image Classifier</h2>
4
5
<div>
6
    <form id="upload-file" method="post" enctype="multipart/form-data">
7
        <label for="imageUpload" class="upload-label">
8
            Choose...
9
        </label>
10
        <input type="file" name="file" id="imageUpload" accept=".png, .jpg, .jpeg">
11
    </form>
12
13
    <div class="image-section" style="display:none;">
14
        <div class="img-preview">
15
            <div id="imagePreview">
16
            </div>
17
        </div>
18
        <div>
19
            <button type="button" class="btn btn-primary btn-lg " id="btn-predict">Predict!</button>
20
        </div>
21
    </div>
22
23
    <div class="loader" style="display:none;"></div>
24
25
    <h3 id="result">
26
        <span> </span>
27
    </h3>
28
29
</div>
30
31
32
</center>
33
34
{% endblock %}