Spaces:
Sleeping
Sleeping
<!-- index.html --> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.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=Archivo+Black&family=Chicle&family=Rubik+Glitch&display=swap" rel="stylesheet"> | |
<link rel="stylesheet" href="static/weather.css?v=2"> | |
<title>Weather Prediction</title> | |
</head> | |
<body> | |
<div class="header-container container"> | |
<h1>Weather Prediction</h1> | |
</div> | |
<form id="uploadForm" action="/predict" method="post" enctype="multipart/form-data" class="container"> | |
<div id="fileInputContainer"> | |
<input type="file" name="file" id="fileInput" accept="image/*"> | |
<label for="fileInput" id="fileInputLabel"> | |
<i class="fas fa-cloud-upload-alt upload-icon"></i> | |
Drag & Drop or Click to Upload | |
</label> | |
</div> | |
<div id="imageContainer" class="container"> | |
<img id="imagePreview"> | |
</div> | |
<div id="predictionResult" class="container"></div> | |
<button type="submit" class="predict-btn" id="predictButton"> | |
<span class="loading-icon" id="loadingIcon"></span> | |
Predict | |
</button> | |
</form> | |
<script src="static/weather.js"></script> | |
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script> | |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> | |
</body> | |
</html> |