Spaces:
Sleeping
Sleeping
Update app.py
Browse files364 unmodified lines36536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242383 unmodified lines507508509510511512513514515516517518519364 unmodified lines# ββββββββββββββββββββββ TEAM CARDS ββββββββββββββββββββββwith gr.Column(scale=1, min_width=220):gr.HTML("""<div style="background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);border: 1px solid rgba(255,255,255,0.2); border-radius: 20px;padding: 24px; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.1);border-left: 6px solid #00ff88; height: 100%;"><h3 style="margin:0 0 8px; color:#fff; font-weight:600;">Muhammad Shafran</h3><p style="margin:0; color:#ddd; font-weight:500;">RP21-EE-416</p></div>""")with gr.Column(scale=1, min_width=220):gr.HTML("""<div style="background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);border: 1px solid rgba(255,255,255,0.2); border-radius: 20px;padding: 24px; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.1);border-left: 6px solid #ffaa00; height: 100%;"><h3 style="margin:0 0 8px; color:#fff; font-weight:600;">Hadia Shahid</h3><p style="margin:0; color:#ddd; font-weight:500;">RP21-EE-424</p></div>""")with gr.Column(scale=1, min_width=220):gr.HTML("""<div style="background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);border: 1px solid rgba(255,255,255,0.2); border-radius: 20px;padding: 24px; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.1);border-left: 6px solid #aa00ff; height: 100%;"><h3 style="margin:0 0 8px; color:#fff; font-weight:600;">Zulqarnain Haider</h3><p style="margin:0; color:#ddd; font-weight:500;">RP21-EE-433</p></div>""")# ββββββββββββββββββββββ SUPERVISOR CARD ββββββββββββββββββββββgr.HTML("""<div style="text-align:center; margin:20px 0; padding:12px;background:#f8f9fa; border-radius:12px; font-size:1.1rem;color:#333; font-weight:600;"><strong>Supervisor:</strong> Dr. Danish</div>""")gr.Markdown("---")gr.HTML("<div style='height:30px;'></div>") # Space# === MAIN ANALYZER SECTION ===with gr.Row():83 unmodified linesoutputs=None,js="""() => {// Smooth scrolldocument.documentElement.style.scrollBehavior = 'smooth';// Optional: Auto-scroll after 2ssetTimeout(() => {document.getElementById('main-content')?.scrollIntoView({ behavior: 'smooth' });}, 2000);}""")364 unmodified lines36536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949083 unmodified lines574575576577578579580581582583584585586364 unmodified lines# ββββββββββββββββββββββ TEAM CARDS ββββββββββββββββββββββgr.HTML("""<div style="min-height: 100vh; padding: 100px 20px;background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e);background-size: 400% 400%; animation: gradientShift 15s ease infinite;display: flex; flex-direction: column; justify-content: center; align-items: center;text-align: center; color: white; position: relative; overflow: hidden;"><h2 style="font-size: 3.5rem; font-weight: 800; margin: 0 0 60px;background: linear-gradient(90deg, #00ff88, #ffaa00, #aa00ff);-webkit-background-clip: text; -webkit-text-fill-color: transparent;letter-spacing: 3px;">MEET THE TEAM</h2><div style="display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; max-width: 1200px;"><!-- Muhammad Shafran --><div style="background: rgba(255,255,255,0.15); backdrop-filter: blur(14px);border: 1px solid rgba(255,255,255,0.25); border-radius: 24px;padding: 32px; width: 280px; box-shadow: 0 12px 40px rgba(0,0,0,0.2);border-left: 8px solid #00ff88;"><h3 style="margin:0 0 12px; color:#fff; font-size:1.6rem; font-weight:600;">Muhammad Shafran</h3><p style="margin:0; color:#ddd; font-size:1.1rem;">RP21-EE-416</p></div><!-- Hadia Shahid --><div style="background: rgba(255,255,255,0.15); backdrop-filter: blur(14px);border: 1px solid rgba(255,255,255,0.25); border-radius: 24px;padding: 32px; width: 280px; box-shadow: 0 12px 40px rgba(0,0,0,0.2);border-left: 8px solid #ffaa00;"><h3 style="margin:0 0 12px; color:#fff; font-size:1.6rem; font-weight:600;">Hadia Shahid</h3><p style="margin:0; color:#ddd; font-size:1.1rem;">RP21-EE-424</p></div><!-- Zulqarnain Haider --><div style="background: rgba(255,255,255,0.15); backdrop-filter: blur(14px);border: 1px solid rgba(255,255,255,0.25); border-radius: 24px;padding: 32px; width: 280px; box-shadow: 0 12px 40px rgba(0,0,0,0.2);border-left: 8px solid #aa00ff;"><h3 style="margin:0 0 12px; color:#fff; font-size:1.6rem; font-weight:600;">Zulqarnain Haider</h3><p style="margin:0; color:#ddd; font-size:1.1rem;">RP21-EE-433</p></div></div><!-- Supervisor --><div style="margin-top: 80px; padding: 20px 40px;background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);border-radius: 16px; border: 1px solid rgba(255,255,255,0.2);font-size: 1.3rem; font-weight: 600; color: #ccc;"><strong>Supervisor:</strong> Dr. Danish</div><!-- Scroll Hint --><div style="position: absolute; bottom: 40px; animation: bounce 2s infinite;"><svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#00ff88" stroke-width="2"><path d="M7 13l5 5 5-5"></path></svg></div></div>""")# ββββββββββββββββββββββ SECTION 2: PRODUCT DESCRIPTION (FULL-SCREEN) ββββββββββββββββββββββgr.HTML("""<div style="min-height: 100vh; padding: 120px 20px;background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460);background-size: 400% 400%; animation: gradientShift 18s ease infinite;display: flex; flex-direction: column; justify-content: center; align-items: center;text-align: center; color: white; position: relative;"><h2 style="font-size: 3.8rem; font-weight: 900; margin: 0 0 50px;background: linear-gradient(90deg, #aa00ff, #00ff88);-webkit-background-clip: text; -webkit-text-fill-color: transparent;letter-spacing: 2px;">NEUROSENSE</h2><h3 style="font-size: 2rem; margin: 0 0 40px; color: #00ff88; font-weight: 600;">The Brain IMDb</h3><div style="max-width: 900px; line-height: 1.8; font-size: 1.2rem; color: #ddd;"><p>NeuroSense is an AI-powered emotion recognition system that decodes human feelings from EEG brainwave data in real-time.Using advanced deep learning models (CNN-GRU), it classifies emotions such as <strong>Focused</strong>, <strong>Funny</strong>,<strong>Meditation</strong>, <strong>Normal</strong>, and <strong>Sad</strong> β second by second.</p><p style="margin-top: 20px;">Whether you're analyzing meditation sessions, detecting focus in learning, or exploring emotional responses to humor,NeuroSense turns raw brain signals into meaningful insights β just like IMDb does for movies.</p><p style="margin-top: 20px; font-style: italic; color: #aaa;">"Your brain doesn't lie. We just help you listen."</p></div><!-- Scroll Hint --><div style="position: absolute; bottom: 40px; animation: bounce 2s infinite;"><svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#00ff88" stroke-width="2"><path d="M7 13l5 5 5-5"></path></svg></div></div>""")# === MAIN ANALYZER SECTION ===with gr.Row():83 unmodified linesoutputs=None,js="""() => {document.documentElement.style.scrollBehavior = 'smooth';const style = document.createElement('style');style.innerHTML = `@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }`;document.head.appendChild(style);}""")
app.py+114-47