-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
241 lines (201 loc) · 9.93 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BRAND LOGO</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='new.css') }}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Serif&display=swap" rel="stylesheet">
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2"
crossorigin="anonymous"></script>
<div id="top">
<nav class="navbar navbar-expand-lg text-dark navbar-fixed-top " style="background-color: #e3f2fd;color:black;">
<div class="container-fluid">
<a class="navbar-brand ms-5" href="/">
<!-- <img src="static\images\brain2.jpg" alt="" width="30" height="24" class="d-inline-block align-text-top">-->
<h2 class="navhead">Astronomical data classification</h2>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="static\howItWorks.html">How This Works?</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
<br>
<div id="content-section" class="container col-lg-6">
<div class="row row-cols-1 row-cols-sm-1 row-cols-md-1 g-3 ">
<div class=" col-lg-12 col-md-12 shadow-lg p-3 mb-5 bg-body-tertiary rounded">
<div id="carouselExample" class="carousel slide">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="static/images/brands/applec.jpg" class="d-block w-100 img-fluid" alt="..." height="700" >
</div>
<div class="carousel-item" data-bs-interval="10000">
<img src="static/images/brands/nike.jpg" class="d-block w-100 img-fluid" alt="..." >
</div>
<div class="carousel-item" data-bs-interval="10000">
<img src="static/images/brands/colac.jpg" class="d-block w-100 img-fluid" alt="..." >
</div>
<div class="carousel-item" data-bs-interval="10000">
<img src="static/images/brands/sbc.jpg" class="d-block w-100 img-fluid" alt="..." >
</div>
<div class="carousel-item" data-bs-interval="10000">
<img src="static/images/brands/spritec.jpg" class="d-block w-100 img-fluid" alt="..." >
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExample" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExample" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div></div>
<!-- _______________________________________________________________________________________ -->
<div class="row row-cols-1 row-cols-sm-1 row-cols-md-1 g-3 d-flex justify-content-evenly ">
<div class="col-lg-4 col-md-4 col-lg-6 shadow-lg mb-5 bg-body-tertiary rounded">
<div class="card" style="width:100%;height:100%;border:1px solid white;margin-left:10px;">
<br>
<li class="list-group-item"><h3><b>CHECK HERE</b></h3></li>
<form class="m-2" method="POST" action="prediction" enctype="multipart/form-data">
<label>Image:</label>
<input type="file" name='img' class='btn' required><br><br>
<a href="/" class="btn btn-outline-danger" tabindex="-1" role="button" aria-disabled="true">Reset</a>
<input type="submit" class="btn btn-warning text-center">
</form>
</div>
</div>
<div class="col-lg-4 col-md-6 card shadow-md shadow-lg p-3 mb-5 bg-body-tertiary rounded">
<h4>Training Accuracy</h4>
<div class="progress">
<div class="progress-bar" role="progressbar"> <b class="text-dark">0%</b></div>
</div>
<br>
<h4>Testing Accuracy</h4>
<div class="progress">
<div class="progress-bar2 text-center" style="{color:white;}" role="progressbar"> <b class="pgb2">0%</b></div>
</div>
<br>
<h4>Dataset </h4>
<div class="progress">
<div class="progress-bar3 text-center" role="progressbar"> <b class="text-dark">0%</b></div>
</div>
</div>
</div>
<!-- _______________________________________________________________________________________ -->
<br>
<div class="row row-cols-1 row-cols-sm-1 row-cols-md-1 d-flex justify-content-center mb-5 ">
<div class=" col-lg-10 border shadow-lg bg-body-tertiary rounded">
<div id="mid2">
<br><br>
<h4>🛠 REQUIREMENTS:</h4>
<ul>
<li class="req"><b> We request you to upload the image in '.jpg' format only. </b></li>
</ul>
<h4>🔍 HOW DOES THIS TOOL WORK ?</h4>
<ul>
<li class="req">This tool makes its predictions based on the predictions made by model using CNN </li>
</ul>
</div>
</div>
</div>
<div class="row row-cols-1 row-cols-sm-1 mt-3 row-cols-md-1 d-flex justify-content-center ">
<div class=" col-lg-10 border shadow-lg bg-body-tertiary rounded">
<img src=" " class="d-block w-100 img-fluid" alt="..." >
</div>
</div>
<!--_____________________________________________________________________________________________-->
<script>
window.addEventListener('load', function() {
var prog = 95; // set the progress value
var progressBar = document.querySelector('.progress-bar');
// animate the progress bar width
var width = 0;
var intervalId = setInterval(function() {
if (width >= prog) {
clearInterval(intervalId);
} else {
width++;
progressBar.style.width = width + '%';
progressBar.innerHTML = '<b class="text-dark">' + width + '%</b>';
}
}, 10);
var prog2 = 93; // set the progress value
var progressBar2 = document.querySelector('.progress-bar2');
// animate the progress bar width
var width1 = 0;
var intervalId1 = setInterval(function() {
if (width1 >= prog2) {
clearInterval(intervalId1);
} else {
width1++;
progressBar2.style.width = width1 + '%';
progressBar2.innerHTML = '<b class="text-dark">' + width1 + '%</b>';
}
}, 20);
var prog3 = 96; // set the progress value
var progressBar3 = document.querySelector('.progress-bar3');
// animate the progress bar width
var width2 = 0;
var intervalId2 = setInterval(function() {
if (width2 >= prog3) {
clearInterval(intervalId2);
} else {
width2++;
progressBar3.style.width = width2 + '%';
progressBar3.innerHTML = '<b class="text-dark">' + (width2*10) + '</b>';
}
}, 20);
});
</script>
<!--_____________________________________________________________________________________________-->
</div>
<div id="end">
<br><br>
<br><br>
<footer class="bg-dark text-center text-white">
<!-- Grid container -->
<div class="container p-4">
<!-- Section: Social media -->
<section class="mb-4">
<a href="#" target = "_blank"></a>
<!-- Twitter -->
</section>
<!-- Copyright -->
<div class="text-center p-3" style="">
<p>
All copyright reserved ©
<a class="text-white" href="#">2023</a>
</p>
</div>
</div>
<!-- Copyright -->
</footer>
<!-- Footer -->
</div>
</body>
<!--_____________________________________________________________________________________________-->
</html>