TestingProjects / index.html
GarGerry's picture
Update index.html
cc64172 verified
raw
history blame contribute delete
899 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cat & Dog Classifier</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Cat & Dog Classifier</h1>
<p>Upload an image and see the prediction!</p>
</header>
<main>
<div class="upload-container">
<input type="file" id="imageInput" accept="image/*">
<button id="uploadButton">Upload</button>
</div>
<div id="result-container" class="hidden">
<h2>Prediction Result:</h2>
<p id="resultText"></p>
<img id="uploadedImage" src="" alt="Uploaded Image">
</div>
</main>
<footer>
<p>Powered by <a href="https://huggingface.co/spaces/username/your-space-name" target="_blank">Hugging Face Spaces</a></p>
</footer>
<script src="script.js"></script>
</body>
</html>