Spaces:
Running
Running
File size: 18,101 Bytes
9aba585 |
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 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Rowdies:wght@700&display=swap" rel="stylesheet">
<!---<link rel="stylesheet" href="styles.css">!-->
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<title>STRAWBERRY PLANT DISEASE PREDICTION</title>
<style>
form {
display: flex;
height: 85vh;
justify-content: center;
align-items: center;
margin-top: 50px;
width: 60%;
text-align: center;
margin: auto;
}
.details h2 {
position: relative;
top: 100px;
margin: auto;
color: rgb(18, 231, 231);
font-size: 3rem;
}
label:hover {
transform: scale(1.03);
}
.details h2 {
/* margin-bottom: 300px; */
position: relative;
top: 100px;
margin: auto;
color: rgb(18, 231, 231);
font-size: 3rem;
}
.gallery-h1 h1 {
background-color: rgb(44, 43, 43);
color: white;
padding: 20px;
border-radius: 15px;
}
.details h1 {
color: white;
padding: 20px;
border-radius: 15px;
background-color: rgb(45, 47, 49);
}
.upload {
font-size: 20px;
background-color: rgb(255, 252, 252);
border-radius: 20px;
outline: none;
width: 315px;
color: rgb(0, 0, 0);
border: 3px solid rgb(45, 47, 49);
}
::-webkit-file-upload-button {
color: white;
padding: 20px;
border: 2px solid rgb(129, 129, 129);
background-color: rgb(129, 129, 129);
border-radius: 15px;
}
::-webkit-file-upload-button:hover {
border-radius: 20px;
border: 2px solid rgb(177, 174, 174);
}
input[type="submit"] {
position: absolute;
margin-top: 190px;
padding: 15px 35px;
background-color: white;
border-radius: 15px;
color: black;
font-size: 1.5rem;
border: 4px solid rgb(31, 185, 190);
}
.carousel-caption {
background: rgba(24, 25, 26, 0.5);
border-radius: 10px;
}
.carousel-caption h3 {
font-family: 'Rowdies', cursive;
color: yellow;
text-transform: uppercase;
margin-bottom: 10px;
}
.carousel-caption p {
padding: 7px;
}
.img-thumbnail {
height: 300px;
}
.Content-h5 {
padding: 15px;
background-color: rgb(153, 156, 150);
color: white;
border-radius: 15px;
margin-bottom: 25px;
}
@media only screen and (max-width: 325px) {
body {
font-size: x-small;
}
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial;
}
/* The grid: Four equal columns that floats next to each other */
.column {
float: left;
width: 25%;
padding: 10px;
}
/* Style the images inside the grid */
.column img {
opacity: 0.8;
cursor: pointer;
}
.column img:hover {
opacity: 1;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* The expanding image container */
.container {
position: relative;
display: none;
}
/* Expanding image text */
#imgtext {
position: absolute;
bottom: 15px;
left: 15px;
color: white;
font-size: 20px;
}
/* Closable button inside the expanded image */
.closebtn {
position: absolute;
top: 10px;
right: 15px;
color: white;
font-size: 35px;
cursor: pointer;
}
.animate-charcter {
text-transform: uppercase;
background-image: linear-gradient(-225deg,
#231557 0%,
#44107a 29%,
#ff1361 67%,
#fff800 100%);
background-size: auto auto;
background-clip: border-box;
background-size: 200% auto;
color: #fff;
content: center;
background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 3s linear infinite;
display: inline-block;
font-size: 24px;
}
@keyframes textclip {
to {
background-position: 200% center;
}
}
* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}
/* Slideshow container */
.slideshow-container {
max-width: 1500px;
position: relative;
margin: auto;
}
/* Caption text */
.text {
color: #000000;
font-size: 24px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dot {
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.2s ease;
}
.active {
background-color: #717171;
}
/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.text {font-size: 11px}
}
</style>
</head>
<body>
<!---<header>
<div class="container-fluid">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1" class=""></li>
<li data-target="#myCarousel" data-slide-to="2" class=""></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active ">
<img src="/static/images/image1.jpg" class="d-block w-100" alt="...">
<div class="container">
<div class="container background-img3">
<div class="carousel-caption">
<h3>Strawberry
Plant Disease Prediction AI App</h3>
<p>
Many veterans said that Deep Learning and AI is a threat to our world, but if we
use it properly, we can do many good things today, we will see a small example
of this in which we will be in Strawberry farming
Find out about the disease
</p>
</div>
</div>
</div>
</div>
<div class="carousel-item">
<img src="/static/images/img2.jpg" class="d-block w-100" alt="...">
<div class="container">
<div class="carousel-caption">
<h3>स्ट्रॉबेरी पेड़ का रोग का अंदाज और उपाय
</h3>
<p>
कई दिग्गजों ने कहा कि Deep Learning and AI यह हमारी दुनिया के लिए खतरा है लेकिन अगर
हम इसका सही यूज़ करें तो हम कई अच्छे काम भी कर सकते हैं आज इसी का छोटा सा example
देखेंगे जिसमें हम स्ट्रॉबेरी की खेती में होने वाले
रोग के बारे मे पता करेगें</p>
</div>
</div>
</div>
<div class="carousel-item">
<img src="/static/images/img3.jpg" class="d-block w-100" alt="...">
<div class="container">
<div class="container ">
<div class="carousel-caption">
<h3>
स्ट्रॉबेरीच्या झाडाच्या रोगाचा अंदाज आणि उपाय </h3>
<p>गेल्या काही वर्षांपासून
सखोल अभ्यास (Deep Learning) आणि कृत्रिम बुद्धिमत्ता (Artificial Intelligence) हा सर्वात चर्चेचा विषय राहिला आहे,
बरेच दिग्गज लोक म्हणतात की हा आपल्या जगासाठी धोका आहे, परंतु जर आपण त्याचा योग्य वापर केला तर आपण आज बर्याच चांगल्या गोष्टी करू शकतो.
त्याचेच एक उदाहरण हे की आपण स्ट्रॉबेरीचे रोग जाणून त्यावर त्यावर उपाय काढतो.
</p>
</div>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#myCarousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#myCarousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</header>-->
<div class="slideshow-container">
<center style="border: 5px solid black; padding:20px;">
<div class="mySlides fade">
<div class="numbertext">1 / 3</div>
<img src="static/images/image1.jpg" style="width:100%">
<div class="carousel-caption">
<h3>Strawberry
Plant Disease Prediction AI App</h3></div>
</div>
<div class="mySlides fade">
<div class="numbertext">2 / 3</div>
<img src="static/images/image2.JPG" style="width:100%">
<div class="carousel-caption">
<h3>स्ट्रॉबेरी पेड़ का रोग का अंदाज और उपाय
</h3> </div>
</div>
<div class="mySlides fade">
<div class="numbertext">3 / 3</div>
<img src="static/images/image3.jpg" style="width:100%">
<div class="carousel-caption">
<h3>
स्ट्रॉबेरीच्या झाडाच्या रोगाचा अंदाज आणि उपाय </h3></div>
</div>
</div>
<br>
<div style="text-align:center">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
<section>
<div class="container-fluid details"><br><br>
<center style="border: 5px solid black; padding: 1px;">
<h1 class="text-center mt-4 mb-4 animate-charcter" style="font-size:30px" >Predict strawberry Crop Disease & Get Cure</h1>
</center>
<h2 class="text-center mt-4 mb-4" style="font-size: 2rem;">स्ट्रॉबेरी के पेड कि तस्वीर डालिये</h2>
<form action="/predict" method="post" enctype="multipart/form-data" onsubmit="showloading()">
<input type="file" name="image" class="upload"><br>
<input type="submit" value="Predict">
</form>
</div>
</section>
<section>
<center style="border: 5px solid black; padding: 3px;">
<div class="text-center mt-4 mb-4 animate-charcter">
<h1>Photo Gallery</h1>
</div>
</center>
<div class="row">
<div class="column">
<img src="/static/images/gal1.jpg" alt="" style="width:100%" onclick="myFunction(this);">
</div>
<div class="column">
<img src="/static/images/gal2.jpg" alt="" style="width:100%" onclick="myFunction(this);">
</div>
<div class="column">
<img src="/static/images/gal3.jpg" alt="" style="width:100%" onclick="myFunction(this);">
</div>
<div class="column">
<img src="/static/images/gall (3).jpeg" alt="" style="width:100%" onclick="myFunction(this);">
</div>
<div class="column">
<img src="/static/images/gal5.jpeg" alt="" style="width:100%" onclick="myFunction(this);">
</div>
<div class="column">
<img src="/static/images/mob4.JPG" alt="" style="width:100%" onclick="myFunction(this);">
</div>
<div class="column">
<img src="/static/images/gall (1).jpeg" alt="" style="width:100%" onclick="myFunction(this);">
</div>
<div class="column">
<img src="/static/images/gall (2).jpeg" alt="" style="width:100%" onclick="myFunction(this);">
</div>
</div>
<center><div class="container">
<span onclick="this.parentElement.style.display='none'" class="closebtn">×</span>
<img id="expandedImg" style="width:50%">
<div id="imgtext"></div>
</div></center>
</section>
<section>
<div class="container Content-h5">
<h5 style="font-size: 1rem;" class="text-center my-3 contents">
Delivery Contact:
IndianAIProduction.business@gmail.com</h5>
</div>
</section>
<script>
function myFunction(imgs) {
var expandImg = document.getElementById("expandedImg");
var imgText = document.getElementById("imgtext");
expandImg.src = imgs.src;
imgText.innerHTML = imgs.alt;
expandImg.parentElement.style.display = "block";
}
</script>
<!-- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>-->
<!--<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"></script>!-->
<!--<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
crossorigin="anonymous"></script>!-->
<script>
let slideIndex = 0;
showSlides();
function showSlides() {
let i;
let slides = document.getElementsByClassName("mySlides");
let dots = document.getElementsByClassName("dot");
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
slideIndex++;
if (slideIndex > slides.length) {slideIndex = 1}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
setTimeout(showSlides, 2000); // Change image every 2 seconds
}
</script>
</body>
</html> |