classifier / main.html
Karim
Initial commit for Hugging Face Space deployment
4b267b8
Raw
History Blame Contribute Delete
2.41 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PlantCare API Status</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #f4f7f6;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.card {
background: white;
padding: 2.5rem;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
text-align: center;
max-width: 400px;
width: 100%;
}
h1 {
margin: 0 0 0.5rem 0;
color: #1a1a1a;
font-size: 1.8rem;
}
p {
color: #666;
margin: 0 0 1.5rem 0;
font-size: 1rem;
}
.status-badge {
display: inline-flex;
align-items: center;
background-color: #e6f7ed;
color: #1f8b4c;
padding: 0.5rem 1rem;
border-radius: 20px;
font-weight: 600;
font-size: 0.9rem;
}
.pulse-dot {
width: 8px;
height: 8px;
background-color: #28a745;
border-radius: 50%;
margin-right: 8px;
box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
animation: pulse 1.6s infinite;
}
@keyframes pulse {
0% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
}
70% {
transform: scale(1);
box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
}
100% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
}
}
</style>
</head>
<body>
<div class="card">
<h1>PlantCare API</h1>
<p>The backend application instance is active and ready to process incoming prediction requests.</p>
<div class="status-badge">
<span class="pulse-dot"></span>
Server is running
</div>
</div>
</body>
</html>