Spaces:
Sleeping
Sleeping
File size: 1,731 Bytes
a1c6194 |
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 |
<!-- bird.html -->
<!DOCTYPE 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="stylesheet" href="static/bird.css?v=2">
<title>Bird Classification</title>
</head>
<body>
<div class="header-container container">
<h1>Bird Classification</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/bird.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> |