Spaces:
Sleeping
Sleeping
Shreyas
commited on
Upload index.html
Browse files- templates/index.html +93 -0
templates/index.html
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>AutVid AI - Video Emotion Analysis</title>
|
| 7 |
+
<style>
|
| 8 |
+
* { margin:0; padding:0; box-sizing:border-box; }
|
| 9 |
+
body {
|
| 10 |
+
font-family: 'Arial', sans-serif;
|
| 11 |
+
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
|
| 12 |
+
color: #ffffff; overflow-x: hidden; min-height: 100vh;
|
| 13 |
+
}
|
| 14 |
+
.particles { position: fixed; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:1; }
|
| 15 |
+
.particle { position:absolute; width:4px; height:4px; background: rgba(0,255,255,0.6); border-radius:50%; animation: float 6s ease-in-out infinite; }
|
| 16 |
+
.particle:nth-child(1){top:20%;left:10%;animation-delay:0s;}
|
| 17 |
+
.particle:nth-child(2){top:30%;left:80%;animation-delay:1s;}
|
| 18 |
+
.particle:nth-child(3){top:70%;left:20%;animation-delay:2s;}
|
| 19 |
+
.particle:nth-child(4){top:80%;left:70%;animation-delay:3s;}
|
| 20 |
+
.particle:nth-child(5){top:10%;left:50%;animation-delay:4s;}
|
| 21 |
+
.particle:nth-child(6){top:60%;left:90%;animation-delay:5s;}
|
| 22 |
+
@keyframes float { 0%,100%{transform: translateY(0) rotate(0); opacity:0.6;} 50%{transform: translateY(-20px) rotate(180deg); opacity:1;} }
|
| 23 |
+
|
| 24 |
+
.header { position:relative; z-index:10; padding:2rem 0; text-align:center; }
|
| 25 |
+
.logo {
|
| 26 |
+
font-size:2.5rem; font-weight:bold;
|
| 27 |
+
background: linear-gradient(45deg, #00ffff, #ff00ff);
|
| 28 |
+
-webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
|
| 29 |
+
animation: glow 2s ease-in-out infinite alternate;
|
| 30 |
+
}
|
| 31 |
+
@keyframes glow { from{filter:drop-shadow(0 0 10px rgba(0,255,255,.5));} to{filter:drop-shadow(0 0 20px rgba(255,0,255,.8));} }
|
| 32 |
+
|
| 33 |
+
.main-content { position:relative; z-index:10; max-width:1200px; margin:0 auto; padding:4rem 2rem; text-align:center; }
|
| 34 |
+
.hero-title {
|
| 35 |
+
font-size:3.5rem; font-weight:800; margin-bottom:1.5rem;
|
| 36 |
+
background: linear-gradient(135deg, #ffffff, #00ffff);
|
| 37 |
+
-webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
|
| 38 |
+
animation: slideInDown 1s ease-out;
|
| 39 |
+
}
|
| 40 |
+
.hero-subtitle {
|
| 41 |
+
font-size:1.3rem; margin-bottom:3rem; color:#b0b0b0; max-width:800px; margin-left:auto; margin-right:auto; line-height:1.6;
|
| 42 |
+
animation: slideInUp 1s ease-out .3s both;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.features { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:2rem; margin:4rem 0; animation: fadeIn 1s ease-out .6s both; }
|
| 46 |
+
.feature-card {
|
| 47 |
+
background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
|
| 48 |
+
border:1px solid rgba(255,255,255,0.1); border-radius:15px; padding:2rem; transition: all .3s ease; position:relative; overflow:hidden;
|
| 49 |
+
}
|
| 50 |
+
.feature-card::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background: linear-gradient(90deg, transparent, rgba(0,255,255,.1), transparent); transition:left .6s; }
|
| 51 |
+
.feature-card:hover::before{ left:100%; }
|
| 52 |
+
.feature-card:hover{ transform: translateY(-10px); border-color: rgba(0,255,255,.3); box-shadow: 0 20px 40px rgba(0,255,255,.1); }
|
| 53 |
+
.feature-icon{ font-size:3rem; margin-bottom:1rem; }
|
| 54 |
+
.feature-title{ font-size:1.5rem; font-weight:bold; margin-bottom:1rem; color:#00ffff; }
|
| 55 |
+
.feature-description{ color:#ccc; line-height:1.6; }
|
| 56 |
+
|
| 57 |
+
.cta-section { margin:5rem 0; animation: fadeIn 1s ease-out .9s both; }
|
| 58 |
+
.try-model-btn {
|
| 59 |
+
display:inline-block; padding:1.2rem 3rem; font-size:1.4rem; font-weight:bold;
|
| 60 |
+
text-decoration:none; color:#000; background: linear-gradient(45deg, #00ffff, #ff00ff);
|
| 61 |
+
border-radius:50px; cursor:pointer; border:none; text-transform:uppercase; letter-spacing:2px; transition: all .3s ease;
|
| 62 |
+
}
|
| 63 |
+
.try-model-btn:hover{ transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,255,255,.4); color:#fff; }
|
| 64 |
+
|
| 65 |
+
@keyframes slideInDown { from{opacity:0; transform:translateY(-50px);} to{opacity:1; transform:translateY(0);} }
|
| 66 |
+
@keyframes slideInUp { from{opacity:0; transform:translateY(50px);} to{opacity:1; transform:translateY(0);} }
|
| 67 |
+
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
|
| 68 |
+
|
| 69 |
+
@media (max-width:768px){ .hero-title{font-size:2.5rem;} .hero-subtitle{font-size:1.1rem;} .features{grid-template-columns:1fr;} }
|
| 70 |
+
</style>
|
| 71 |
+
</head>
|
| 72 |
+
<body>
|
| 73 |
+
<div class="particles">
|
| 74 |
+
<div class="particle"></div><div class="particle"></div><div class="particle"></div>
|
| 75 |
+
<div class="particle"></div><div class="particle"></div><div class="particle"></div>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
<header class="header"><div class="logo">AutVid AI</div></header>
|
| 79 |
+
|
| 80 |
+
<main class="main-content">
|
| 81 |
+
<h1 class="hero-title">Decode Emotions from Video & Audio</h1>
|
| 82 |
+
<p class="hero-subtitle">AutVid AI analyzes video, audio, and text together to provide emotion insights in real time.</p>
|
| 83 |
+
<section class="cta-section">
|
| 84 |
+
<button class="try-model-btn" onclick="window.location.href='/model'">Try Model</button>
|
| 85 |
+
</section>
|
| 86 |
+
<section class="features">
|
| 87 |
+
<div class="feature-card"><div class="feature-icon">🎥</div><h3 class="feature-title">Video</h3><p class="feature-description">Detect facial emotions with precision.</p></div>
|
| 88 |
+
<div class="feature-card"><div class="feature-icon">🎵</div><h3 class="feature-title">Voice</h3><p class="feature-description">Analyze tone, pitch, rhythm, and patterns.</p></div>
|
| 89 |
+
<div class="feature-card"><div class="feature-icon">🧠</div><h3 class="feature-title">AI Fusion</h3><p class="feature-description">Combine multimodal insights for accurate results.</p></div>
|
| 90 |
+
</section>
|
| 91 |
+
</main>
|
| 92 |
+
</body>
|
| 93 |
+
</html>
|