Spaces:
Running
Running
Update index.html
Browse files- index.html +33 -19
index.html
CHANGED
|
@@ -1,19 +1,33 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Cat & Dog Classifier</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<header>
|
| 11 |
+
<h1>Cat & Dog Classifier</h1>
|
| 12 |
+
<p>Upload an image and see the prediction!</p>
|
| 13 |
+
</header>
|
| 14 |
+
|
| 15 |
+
<main>
|
| 16 |
+
<div class="upload-container">
|
| 17 |
+
<input type="file" id="imageInput" accept="image/*">
|
| 18 |
+
<button id="uploadButton">Upload</button>
|
| 19 |
+
</div>
|
| 20 |
+
<div id="result-container" class="hidden">
|
| 21 |
+
<h2>Prediction Result:</h2>
|
| 22 |
+
<p id="resultText"></p>
|
| 23 |
+
<img id="uploadedImage" src="" alt="Uploaded Image">
|
| 24 |
+
</div>
|
| 25 |
+
</main>
|
| 26 |
+
|
| 27 |
+
<footer>
|
| 28 |
+
<p>Powered by <a href="https://huggingface.co/spaces/username/your-space-name" target="_blank">Hugging Face Spaces</a></p>
|
| 29 |
+
</footer>
|
| 30 |
+
|
| 31 |
+
<script src="script.js"></script>
|
| 32 |
+
</body>
|
| 33 |
+
</html>
|